| leeh | it's like a chicken, and an egg all in one |
| MilesZS | My head exploded. |
| action | krayola1 remembers to backup his main HDD to his second HDD. cpu use 2%, 20mb/sec average (x2). |
| krayola1 | remembers to backup his main HDD to his second HDD. cpu use 2%, 20mb/sec average (x2). |
| leethal | it's pretty common to do that, like use textmate to develop textmate, but my app is still very very un-finished. And it's still possible to do that. It rocks =D |
| MilesZS | Or imploded. |
| leethal | MilesZS: while reading about associations? Happened to me lots of times |
| fulgoren | Ok |
| leeh | leethal: i'm using .each on one of my collections - if there are none, is there an eachelse i can use, or something? it kinda seems like there should be :| |
| kmoore | if i have a class named TPS with a one to one relationship , can anyone explain why i am getting "Expected ./app/models/tps.rb to define Tps" when trying to do @wss.tps = tps in the controller? |
| leethal | LeeH: if there are none what? |
| krayola1 | TPS reports? |
| leeh | @current_user.rentals.each {|rental| |
| leethal | LeeH: if the collection is empty, you mean? |
| leeh | exactly |
| fulgoren | To capistrano or not to capistrano.. I already have my project using svn with a good development environment (tags, branches and a trunk)... deployment isnt too much of a hassle to me i have a shell script that installs everything...... do i bother converting to capistrano or just leave it be |
| leethal | LeeH: tired of the nil.each messages? |
| leeh | no ? |
| MilesZS | leethal: While reading about your recursiveness. My brain itself was in an infinite loop. It was like "Introduction to Programming" all over again. |
| leethal | LeeH: why do you need it? Need some context =D |
| leeh | fulgoren: that's your call, but probably not going to gain much |
| arooni | if i have a form_for :object |
| leeh | leethal.. lemme pastie pastie |
| leethal | MilesZS: totally recognize that feeling =D |
| arooni | howd o i pass a var not part of that object |
| fulgoren | im leaning towards a no also... |
| leethal | arooni: another object, or just some field? arooni: you can use fields_for inside a form_for |
| arooni | leethal: i just need to pass a random hidden field |
| pastie | http://pastie.caboo.se/42993 by LeeH. |
| leeh | jeesus wept :| sup with Pastie |
| arooni | leethal: do i put it outside the <%end%> but before submit? i dont think itd get included :( |
| tpope | just use the regular hidden_field or hidden_field_tag helpers form_for does not create an exclusive scope |
| leethal | arooni: if you want it to be a part of the submit, put it inside the do/end block or use hidden fields =D LeeH: lol LeeH: edit the pastie and pastie it as plaintext |