#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 
Top Prev 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 Next

#rubyonrails

<tavilach> lol i didnt know what i needed to do
<joevandyk> gotta do that :)
<tavilach> how do i include those
<joevandyk> http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper.html#M000591
<jstew> <%= javascript_include_tag :defaults %>
<joevandyk> tavilach: so <%= javascript_include_tag :defaults %>
<tavilach> where?
<joevandyk> top of the page
<jstew> in your layout or directly in the view
<joevandyk> app/views/layouts/application.rhtml is a good place
<joevandyk> tavilach: you really should learn how javascript and stuff works
<tavilach> yeah i just started sorry
<jstew> gnight, It's past my bedtime
<joevandyk> i'll give you links to good refernce material
<devjj> Has anyone had problems with Safari and REST links? (e.g. /users;login)
<joevandyk> devjj: i haven't
<devjj> joevandyk: I've got a very strange one. When running my app on my local machine it works fine.
<devjj> When I put it on the online dev box the links don't register.
<joevandyk> tavilach: http://www.amazon.com/Head-First-HTML-CSS-XHTML/dp/059610197X, http://www.amazon.com/JavaScript-Definitive-Guide-David-Flanagan/dp/0596101996/sr=1-1/qid=1171858702/ref=pd_bbs_sr_1/103-0003651-1554278?ie=UTF8&s=books, http://www.amazon.com/Agile-Development-Rails-Pragmatic-Programmers/dp/0977616630/sr=1-1/qid=1171858721/ref=pd_bbs_sr_1/103-0003651-1554278?ie=UTF8&s=books, http://www.amazon.com/Ruby-Rails-Techniques-Dev
<tavilach> thanks
<joevandyk> tavilach: those should teach you everything you need to know
<tavilach> not like im going to buy all those books
<tavilach> though
<tavilach> lol
<joevandyk> tavilach: if you're doing database stuff, then a book on your database would be good
<joevandyk> tavilach: ok, your loss. :-)
<tavilach> im really not a newbie joe
<tavilach> i coded this: http://eigentaste.berkeley.edu
<tavilach> im a rails newbie
<Olathe> Is eigentaste your username, or do you own berkeley.edu ?
<nad1m> what is the illustrated edition?
<nad1m> joevandyk: the last book you posted didn't work
<joevandyk> nad1m: http://www.amazon.com/Ruby-Rails-Techniques-Developers/dp/1932394699/ ?
<joevandyk> maybe that's beter
<nad1m> ya, thx
<tavilach> do i own berkeley.edu???
<tavilach> hey um, i have the following line of code:
<tavilach> <%= in_place_editor_field "joke", "body", {}, {
<tavilach> :load_text_url=> url_for(:action=>"get_joke_body", :id => @joke.id)
<tavilach> } %>
<tavilach> and im trying to figure out why my in-place editor is only loading blank text into the field
<tavilach> instead of the joke body
<Skiz> tavilach: do you have firefox with the firebug plugin?
<tavilach> no
<Skiz> definitely get it
<tavilach> what will it do?
<Skiz> you can see all the xhr requests, results, headers, etc
<Skiz> source, everything.
<Skiz> also tons of other awsome web dev stuff
<Skiz> also grab the web dev toolbar while you are at it, it will save you many headaches

Previous Page  Next Page

Search ircarchive.info