| njero | po3: cool, sounds like you are really close... the part about :search in the comments would be :project_id for you... |
| jeremydurham | yeah, I like gentoo, or debian. I'm weird like that |
| njero | po3: g'night |
| jstew | I <3 ubuntu |
| undef1 | jeremydurham: on a prodcution server? |
| jeremydurham | undef1, for sure. centos is great too I guess, my last place ran centos, my new pplace runs debian jstew, you'll fit right in with all those freebsd and debian/ubuntu boxes ;) GaryKing, so, if you pasted code I'd be willing to help.. group_by should do what you want, though, if I knew what you wanted :) |
| JoeyONspeed | i use ubuntu dapper all it takes is like 9 commands and the server is setup |
| jstew | Cool. I've done lots of work with freebsd/debian. Not muc redhat since like 7.3 |
| GaryKing | jeremydurham: I already explained what I was trying to do,... :/ |
| RobotDeathSquad | if you change your model, do you need to do anything in script/console to get it to recognize the change? |
| jstew | much* |
| GaryKing | jeremydurham: I have People and Details tables. There is Details.title and Details.value. |
| jeremydurham | GaryKing, I know, but I'm visual.. use code samples :) |
| GaryKing | jeremydurham: I want to get all Details that correspond to each People (loop through all People) and the Details.title = 'role' jeremydurham: I don't have any code jeremydurham: that's why I'm asking for some.. |
| jeremydurham | RobotDeathSquad, reload! |
| RobotDeathSquad | with the exclamiation? |
| GaryKing | lol. jeremydurham: wb jeremydurham: I have People and Details tables. There is Details.title and Details.value. jeremydurham: I want to get all Details that correspond to each People (loop through all People) and the Details.title = 'role' jeremydurham: I don't have any code :) I have the models setup basically. |
| jeremydurham | wow, that was magical |
| GaryKing | and I have <% @bloggers.each do |b| %> <% end %> but besides that. not much. |
| jeremydurham | oh, right... is this the whole key/value pair table thing |
| GaryKing | jeremydurham: yep! |
| JoeyONspeed | I have a simple question, does deploy_with_migrations just apply stuff you changed or does it reupload everything? |
| jeremydurham | GaryKing, ugh. you could create a special association... I dunno it's probably more complicated than it's worth |
| GaryKing | jeremydurham: What? But this is typically how you would normalize a database. |
| njero | pastie: urkl |
| GaryKing | Or at least, a table. |
| pastie | http://pastie.caboo.se/48117 by njero. |
| JoeyONspeed | pastie: |
| undef1 | gah i wish I had a sys admin friend to bother with this sh*t... i am totally out the loop here.. the few bits of my previous knowledge is outdated too boot.. |
| GaryKing | My RoR fuse just broke |