#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 
Top Prev 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 Next

#rubyonrails

<Adam12> metalhedd: In the Device dropdown.
<metalhedd> i'll just wait for mtools to install
<tpope> it should be a short wait
<omninerd> is this the preferred way to handle 404s? http://www.sitepoint.com/blogs/2006/08/30/being-a-good-little-404er/
<DrZoot> viewlogic: is ruby 1.8.5 broken?
<tpope> it breaks Binding.of_caller
<tpope> which breakpointer uses
<Adam12> I think it breaks breakpointer
<Adam12> err, tpope is too fast on the keyboard :)
<viewlogic> DrZoot: rails breakpoints don't work with it
<tpope> I'm not as attached to breakpointer as viewlogic is
<viewlogic> i love breakppointer ;)
<DrZoot> mmm, ok
<dinooz> Any advice on how to generate restful applications from an existing database ???. Creating migration files with scaffold_resource seems to work but scaffold won't create restful applications from the database.
<tpope> specify arguments to the generator
<tpope> script/generate scaffold_resource post title:string created_at:datetime body:text
<omninerd> 404s? ... anyone ... is there a built in Rails way, or is this something I need to write?
<metalhedd> tpope: hate to keep going off topic but mtools is confusing me, it asks for a 'drive' as one of the parameters but it won't take /dev/sdb4 how else could I specify it?
<dinooz> thank you tpope
<viewlogic> omninerd: look in your public dir
<viewlogic> there is a 404.html
<Zodd2> omninerd: i'm still a fairly big noob about the whole thing but I use the 404 in the pub dir
<Zodd2> what viewlogic said
<omninerd> viewlogic, i see the 404.html file, but that's not what i'm asking ... see the link i posted above for the issue i'm dealing with
<viewlogic> ah, yeah.. thats a bit different
<tpope> metalhedd: I thought it accepted a plain device too. but the normal way is to edit the config file and point a letter at it
<viewlogic> havn't explored that territory for myself really
<omninerd> me either
<omninerd> i haven't found a built-in way to handle it
<omninerd> guess i'll just follow suit
<Zodd2> Can anyone field a question regarding capturing an ajax.request response in a rails variable?
<omninerd> off-topic, but i finally finished the migration code for omninerd.com ... w00t! one step closer to killing that awful PHP code I wrote
<Zodd2> controller variable rather
<Eroick> i guess ill slap a server together.
<Eroick> after looking for free servers
<metalhedd> tpope: ok I figured it out. it didn't work though, I changed the volume label and when i mount it i still get that messed up name
<fulgoren> hey all is it possible to do custom sql queries in a model? i know of find_by_sql, but i want to do an insert with some extra mysqlfunctions.. what can i do?
<tpope> it may be cached somewhere
<tpope> even at the kernel level
<tpope> if it's external, unplug and replug it
<tpope> if not, reboot
<Eroick> none are really free, or require different application processes
<metalhedd> tpope: k, i dont feel like rebooting now, but i'll check after i reboot next.
<Eroick> and nobody wants to give hosting away :P
<Zodd2> I have, "new Ajax.Request('/main/gallery?size='+browserHeight, {asynchronous:true, evalScripts:true});" called onLoad, in my controller I have @gallery_size = params[:size]. Can anyone explain why this doesn't work?
<mbelleza> hello
<tpope> Zodd2: where is browserHeight from?
<RadarListener> I've started a form tag using form_remote_tag, how can I give this form an ID?
<tpope> that doesn't sound standard
<mbelleza> anyone who know how to open popup window from the controller??

Previous Page  Next Page

Search ircarchive.info