#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 10 11 12 13 
Top Prev 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 Next

#rubyonrails

<ReinH> technoweenie: you're *torturing* them. For... who cares why? You're *torturing storm troopers with the force* \mm/
<ReinH> (two handed)
<ReinH> jedi don't torture with the force
<technoweenie> this is true
<jstew> jedi only use the force to defend
<technoweenie> but they also have green ligthsabers
<olsen> nad1m: ok, then i will learn javascript first
<jstew> who else would like to see a wookie jedi?
<bradly> i think i am the only prgrammer who has never seen any star wars movies
<technoweenie> they are susceptible to the force
<olsen> star wars is awesome
<olsen> i remember when i was kid i used to go with my friend to watch on the cinemas
<ReinH> jstew: and to destroy robots, because they're inanimate. Thus the proliferation of robots in movies 1..3
<ReinH> god, I think in ruby too much now
<jstew> The first movie I ever saw at the theatre was The Empire Strikes Back.
<technoweenie> chewie's nephew was a jedi: http://en.wikipedia.org/wiki/List_of_New_Order_Jedi_characters#Lowbacca
<ReinH> So the jedi could do some proper ass kicking
<ReinH> technoweenie: yes. Awesome.
<olsen> what is better, star treck or star wars?
<olsen> :p
<ReinH> olsen: they are equal.
<jstew> I was only 5 years old
<jstew> Star Wars. Star Trek is for older people.
<jstew> At least thats been my perception over the years.
<jstew> But now at 33, I should start enjoying the Star Trek franchise
<nad1m> <%= link_to image_tag(product.image_url), :action => :add_to_cart, :id => :product, :post => true %> <----- anything wrong with this line? It is causing my div tags to break.
<tavilach> i have a stylistic question
<tavilach> i want an admin panel for editing jokes (jokes = a table) and editing users (users = a table)
<ReinH> jstew: I love me some star trek though
<tavilach> should admin be the controller
<tavilach> or should i have
<tavilach> admin_jokes
<tavilach> admin_users
<tavilach> as the controllers
<ReinH> nad1m: yes, you need to explicitly group the url_options hash like {:action ... => :product }
<ReinH> nad1m: :post goes in the options hash
<nad1m> ReinH: ah, why?
<nad1m> i'm not sure what is what in that line i pasted
<tavilach> ?
<ReinH> nad1m: link_to's signature is link_to link_text, url_options, options
<ReinH> :action and :id go in url_options while :post goes in options
<technoweenie> tyvokka (a wookie) trained plo koon! awesome (http://en.wikipedia.org/wiki/Tyvokka)
<ReinH> so you have to be explicit: link_to image_tag..., {:action => :add_to_card, :id => :product}, :post => true
<ReinH> that's the first problem
<ReinH> the second problem is that :id => :product isn't right
<tavilach> if i want my admin section to be able to edit both the jokes table and the users table
<jstew> tavilach: another choice would be to have an admin/users and an admin/jokes controller
<ReinH> :id wants an integer or an active record object
<tavilach> how should i set up my controllers
<bradly> anyone know how can i get the file_column plug-in to populate a file_column_field with the existing value?

Previous Page  Next Page

Search ircarchive.info