#rubyonrails - Wed 11 Apr 2007 between 12:00 and 12:40



cardioidIf it's what I think you mean, the tooltip won't appear in Firefox because that's supposed to be the title attribute, not the alt attribute.
Catfishndru1234: You mean in a popup?
ndru1234cardioid: when i hover my mouse over the image, my :alt text is supposed to appear. is that right?
cardioidIE shows the alt because it's IE
ndru1234oic...
Catfishndru1234: No. alt text is supposed to be displayed instead of the image
cardioidBoth browsers will show the title
ndru1234icic... so i should be using the title attribute instead
AngryElf_isn't it high time for web developers everywhere to start firebombing MS?
ndru1234is the title attribute supported in image_tag?
cardioidMost of those helpers either have a specific html_options argument or they pass on any options not intended for them to the resulting HTML
So "yes"
ndru1234cardioid: icic...
thx for the pointers guys. i think i can solve the problem! :)
gmais it easy to get the URL for the current view within a template?
ReinHMorning
ariejanhello
Does Rails have a method that rewrites a given number to a readable format in B kB or mB?
Arsen7evening ;-)
gma: something like controller.request.path I suppose.
ariejan: Something like ri ActiveSupport::CoreExtensions::Numeric::Bytes maybe?
ariejanArsen7: That's like 4.kilobytes return 4*1024.
Arsen7Ok, now something like i-should-get-back-to-work :-)
AngryElf_mornin ReinH
robert_dempseygood morning all
Arsen7good evening, robert_dempsey
guilabi want to have a link_to_remote call an action that adds an entry to a database then that action updates a view that is rendered back to the original call... can i do that?
inspiredI have a method set_active which makes a given record in the db active, but I need to do UPDATE messages SET active = FALSE; first. how can I execute SQL without finder_sql?
robert_dempseygood evening Arsen7
guilab - sounds like some rjs action is what you need
gmaArsen7: cheers, will try it
langenbergAnyone knows some resources for icons I can use in prototypes?
heftighow can i share a partial between two controllers?
gmcinnesHi all: Anyone know if there's a way to limit the routes generated by map.resources? I basically only want the post action
Something like map.resources :foo, :only => :post
robert_dempseyheftig -> you can call the partial using a path such as render :partial => "/shared/approved_filter"
heftigrobert_dempsey: thanks
RiesDoes ruby has a GUI tool to make forms?
endikosMornin' folks!
kainRies, what's the difference between ruby and rails?

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 

IrcArchive