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

#rubyonrails

<mbelleza> pls..help
<RadarListener> tpope, I'm using it to trigger a form submit.
<tpope> I wasn't talking to you
<RadarListener> document.<form's id>.submit();
<RadarListener> oh.
<RadarListener> mbelleza, what do you mean?
<tpope> I was talking to mr make-up-properties
<Adam12> lol
<tpope> and what's with all the "how do I do XXX...in the controller?" questions today
<mbelleza> RadarListener: after saving a data to database a popup window will appear..without clicking any link..
<Zodd2> tpope: it's set by Element.getDimensions(document.body), but I've tried just writing in the intended value and it still kinda hates me
<tpope> Zodd2: look in the logs and see what the request url is
<RadarListener> mbelleza, use form_remote_tag to submit the data to the database, then :complete => "alert('text goes here')"
<RadarListener> in the view.
<tpope> why is it form_remote_tag but remote_form_for
<RadarListener> Not the controller.
<tpope> this is lame
<mbelleza> RadarListener: popup window with an input textbox..that returns an id
<RadarListener> uh why?
<tpope> RadarListener, look at the api entry for it regarding html options
<BucWheat> hrmm.. i believe i have coded myself into a dilemma
<BucWheat> hopefully you all can help me get out :)
<RadarListener> All 455 of us?
<BucWheat> i have the following relationship clients has_many: appointments and appointments belong_to: clients
<BucWheat> RadarListener the more the merrier
<BucWheat> :)
<RadarListener> has_many :appointments
<RadarListener> belongs_to :clients
<BucWheat> here is the kicker.
<daniel-jean> RadarListener: please use pastie instead of pasting code here
<jesusfish> how do I use sprintf to right align within a certain width?
<RadarListener> daniel-jean, I didn't paste code.
<tpope> what on earth daniel-jean
<daniel-jean> RadarListener: sorry, misread, thought you were asking for help, and about to paste one line at a time
<BucWheat> each appointment will have a doctor that sees the client and a lab that does the work for the doctor for the appointment
<BucWheat> question is how do i tie all of these things together?
<tpope> although, RadarListener's contribution didn't add much
<Zodd2> tpope: checking the logs I got Parameters: {"size"=>"large", "action"=>"gallery", "controller"=>"main"}...Basically I am trying to get the client browser width and tell my controller to use a smaller set of images, if I am calling it on window.load, is it too late because all the images have been loaded
<dexta> quick question: the rails and rake file in my ruby/bin folder are missing
<dexta> how do I install them? for Radrails
<tpope> Zodd2: well, browserHeight must have been "large"
<BucWheat> so i can keep track of the number of appointments the doctors have been on for which clients and what labs have performed what work for said doctors
<tpope> it looks to be working to me
<BucWheat> i can't believe i let this detail get by me when i was designing my app
<RadarListener> BucWheat, can a doctor have many labs?
<tpope> dexta: gem install rails, gem install rake
<tpope> both come with the one click installer
<Zodd2> tpope: right, it was, but in @gallery_size = "small"
<Zodd2> @gallery_size = params["size"] unless params[:size].nil?
<Zodd2> oops

Previous Page  Next Page

Search ircarchive.info