#rubyonrails - Sat 19 May 2007 between 00:24 and 00:32

NY Lost Funds



elliottcablemagic_hat: hmm, and your hat won't be nice enough to help with your rails problem? that's one unnice hat )-:
phuor: it's just my trademark smileys d-:
pastiehttp://pastie.caboo.se/62838 by Casey123.
Casey123okay
sorry if i'm being completely dense
but there's gotta be a better way to do forms than that
something more dynamic and less..static
that's what was generated from scaffolding
but i have a feeling there's a better way to do this
elliottcableCasey123: Possibly, I dunno of it tho.
Casey123and I REALLY don't feel like typing this out for each of the zillion fields in my form
elliottcableJasonKing: did you see the pastie?
Casey123can I do a foreach type thing? like foreach field in form print the tag?
elliottcableCasey123: Yah )-: I get annoyed when I add a column and have to go re-add a new field to each form etc for my new column )-:
Casey123:/
anyone who knows if that's possible let me know
yeah
JasonKingelliottcable: yeah, but it didn't show the output and didn't match the irb output you had in the other pastie.
Casey123i guess partials save alot of time
but it's sorta a joke to have to write it out
elliottcableJasonKing: you can see the output, http://elliottcable.com/ d-:
JasonKingCasey123: take a look at the form method - it produces a form for a given model based on that model's fields and the types of those fields.
elliottcable: not easily, no.
elliottcableJasonKing: ... well what else do you need?
Casey123JasonKing: I will look at it but I probably won't know where to start, i'm really new to this
rumpleAm I missing anything yet in tonight's keynotes?
JasonKingelliottcable: think about if from my perspective - I go to elliottcable.com and most of the rows there are links, it all seems to be working. You want me to go through and work out which one/s isn't/aren't working and then work backwards to the code? I don't know why you can't just show the same tests as you were showing before for the String extension version.
phuorrumple: CEO of FiveRuns is talking about "Enterprise is not a four-letter word"
Casey123where is this keynote?
elliottcableJasonKing: because that is in the application helper file and I can't access that method from irb that i know of?
"NoMethodError: undefined method `link_links' for #<Object:0x349a4>"
Casey123: railsconf
Casey123oh sweet
rumplethx phuor - just trying to prioritze beer, work and keynotes
Casey123cool website
elliottcableCasey123: railsconf?
Casey123yep
phuorrumple: Can't miss Ze Frank!
elliottcablewish I coulda been there
JasonKingelliottcable: right, so that still leaves me in the same situation. I'm not going to sift through all the rows of output on your site to work out which one is the one you're talking about that DOESN'T produce a link.

Page: 2 9 16 23 30 37 44 51 

IrcArchive

NY Lost Funds