#rubyonrails - Tue 20 Mar 2007 between 00:00 and 00:08



njeropo3: cool, sounds like you are really close... the part about :search in the comments would be :project_id for you...
jeremydurhamyeah, I like gentoo, or debian. I'm weird like that
njeropo3: g'night
jstewI <3 ubuntu
undef1jeremydurham: on a prodcution server?
jeremydurhamundef1, 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 :)
JoeyONspeedi use ubuntu dapper all it takes is like 9 commands and the server is setup
jstewCool. I've done lots of work with freebsd/debian. Not muc redhat since like 7.3
GaryKingjeremydurham: I already explained what I was trying to do,... :/
RobotDeathSquadif you change your model, do you need to do anything in script/console to get it to recognize the change?
jstewmuch*
GaryKingjeremydurham: I have People and Details tables. There is Details.title and Details.value.
jeremydurhamGaryKing, I know, but I'm visual.. use code samples :)
GaryKingjeremydurham: 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..
jeremydurhamRobotDeathSquad, reload!
RobotDeathSquadwith the exclamiation?
GaryKinglol.
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.
jeremydurhamwow, that was magical
GaryKingand I have <% @bloggers.each do |b| %> <% end %> but besides that. not much.
jeremydurhamoh, right... is this the whole key/value pair table thing
GaryKingjeremydurham: yep!
JoeyONspeedI have a simple question, does deploy_with_migrations just apply stuff you changed or does it reupload everything?
jeremydurhamGaryKing, ugh. you could create a special association... I dunno it's probably more complicated than it's worth
GaryKingjeremydurham: What? But this is typically how you would normalize a database.
njeropastie: urkl
GaryKingOr at least, a table.
pastiehttp://pastie.caboo.se/48117 by njero.
JoeyONspeedpastie:
undef1gah 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..
GaryKingMy RoR fuse just broke

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive