| elliottcable | magic_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-: |
| pastie | http://pastie.caboo.se/62838 by Casey123. |
| Casey123 | okay 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 |
| elliottcable | Casey123: Possibly, I dunno of it tho. |
| Casey123 | and I REALLY don't feel like typing this out for each of the zillion fields in my form |
| elliottcable | JasonKing: did you see the pastie? |
| Casey123 | can I do a foreach type thing? like foreach field in form print the tag? |
| elliottcable | Casey123: 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 |
| JasonKing | elliottcable: yeah, but it didn't show the output and didn't match the irb output you had in the other pastie. |
| Casey123 | i guess partials save alot of time but it's sorta a joke to have to write it out |
| elliottcable | JasonKing: you can see the output, http://elliottcable.com/ d-: |
| JasonKing | Casey123: 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. |
| elliottcable | JasonKing: ... well what else do you need? |
| Casey123 | JasonKing: I will look at it but I probably won't know where to start, i'm really new to this |
| rumple | Am I missing anything yet in tonight's keynotes? |
| JasonKing | elliottcable: 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. |
| phuor | rumple: CEO of FiveRuns is talking about "Enterprise is not a four-letter word" |
| Casey123 | where is this keynote? |
| elliottcable | JasonKing: 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 |
| Casey123 | oh sweet |
| rumple | thx phuor - just trying to prioritze beer, work and keynotes |
| Casey123 | cool website |
| elliottcable | Casey123: railsconf? |
| Casey123 | yep |
| phuor | rumple: Can't miss Ze Frank! |
| elliottcable | wish I coulda been there |
| JasonKing | elliottcable: 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. |