« Back to channel list

#RubyOnRails - 16 October 2017

« Back 1 day Forward 1 day »
[00:11:53] bronson: has joined #RubyOnRails
[00:27:08] quirkycoders: has joined #RubyOnRails
[00:27:35] elcontrastador: has joined #RubyOnRails
[00:31:39] Radar: xcesariox: hi.
[00:31:46] Radar: xcesariox: I was in an interview.
[00:38:09] blackmesa: has joined #RubyOnRails
[00:41:52] irishfromua: has joined #RubyOnRails
[00:49:55] AntiSpamMeta: has joined #RubyOnRails
[00:57:27] rfoust: has joined #RubyOnRails
[00:58:32] workmad3: has joined #RubyOnRails
[01:02:17] LambdaSource: has joined #RubyOnRails
[01:04:15] mtkd: has joined #RubyOnRails
[01:12:53] bronson: has joined #RubyOnRails
[01:15:32] LambdaSource: has joined #RubyOnRails
[01:20:22] sevensidedmarble: has joined #RubyOnRails
[01:25:28] LambdaSource: has joined #RubyOnRails
[01:31:50] Technodrome: has joined #RubyOnRails
[01:50:25] FCser: has joined #RubyOnRails
[02:13:48] bronson: has joined #RubyOnRails
[02:15:13] segy: has joined #RubyOnRails
[02:15:37] quirkycoders: has joined #RubyOnRails
[02:22:33] jphase: has joined #RubyOnRails
[02:23:37] LambdaSource: has joined #RubyOnRails
[02:37:46] jphase: has joined #RubyOnRails
[02:51:34] quirkycoders: has joined #RubyOnRails
[02:58:58] LambdaSource: has joined #RubyOnRails
[03:14:32] bronson: has joined #RubyOnRails
[03:33:37] elcontrastador: has joined #RubyOnRails
[03:35:06] Technodrome: has joined #RubyOnRails
[04:15:42] bronson: has joined #RubyOnRails
[04:25:14] LambdaSource: has joined #RubyOnRails
[04:35:39] duderonomy: has joined #RubyOnRails
[05:00:07] workmad3: has joined #RubyOnRails
[05:16:25] bronson: has joined #RubyOnRails
[05:41:11] ur5us: has joined #RubyOnRails
[05:42:02] Ropeney: has joined #RubyOnRails
[05:50:01] ynonp: has joined #RubyOnRails
[05:57:07] one_zero: has joined #RubyOnRails
[06:00:31] Technodrome: has joined #RubyOnRails
[06:07:20] conta: has joined #RubyOnRails
[06:11:50] KeyJoo: has joined #RubyOnRails
[06:14:34] dionysus69: has joined #RubyOnRails
[06:16:03] hive-mind: has joined #RubyOnRails
[06:17:20] bronson: has joined #RubyOnRails
[06:21:58] roshanavand: has joined #RubyOnRails
[06:24:19] Chernobuk: has joined #RubyOnRails
[06:25:23] helpa: has joined #RubyOnRails
[06:26:08] HalcyonicStorm: has joined #RubyOnRails
[06:26:28] swgillespie: has joined #RubyOnRails
[06:26:29] jhill: has joined #RubyOnRails
[06:26:46] pfg: has joined #RubyOnRails
[06:26:47] newton: has joined #RubyOnRails
[06:26:47] cardoni: has joined #RubyOnRails
[06:26:47] dmnd: has joined #RubyOnRails
[06:26:48] machty: has joined #RubyOnRails
[06:26:50] jxf: has joined #RubyOnRails
[06:26:50] mmun: has joined #RubyOnRails
[06:26:55] johnkpaul: has joined #RubyOnRails
[06:26:55] nOgAnOo: has joined #RubyOnRails
[06:27:13] manveru: has joined #RubyOnRails
[06:27:17] DukeDave: has joined #RubyOnRails
[06:29:15] Kilo`byte: has joined #RubyOnRails
[06:29:35] havenwood: has joined #RubyOnRails
[06:29:36] jhass: has joined #RubyOnRails
[06:30:09] atrius: has joined #RubyOnRails
[06:31:08] nikivi: has joined #RubyOnRails
[07:00:47] workmad3: has joined #RubyOnRails
[07:08:06] srinidhi: has joined #RubyOnRails
[07:08:15] justrying: has joined #RubyOnRails
[07:18:15] bronson: has joined #RubyOnRails
[07:22:22] s2013: has joined #RubyOnRails
[07:40:47] Technodrome: has joined #RubyOnRails
[07:43:03] defsdoor: has joined #RubyOnRails
[07:44:32] rgr: has joined #RubyOnRails
[07:46:13] blackmesa: has joined #RubyOnRails
[07:48:00] arBmind: has joined #RubyOnRails
[07:53:40] ynonp: has joined #RubyOnRails
[08:08:17] timdotrb: has joined #RubyOnRails
[08:08:35] timdotrb: Evening, all
[08:09:53] timdotrb: I’ve setup a has_many through association, but I can’t remember if I need to explicitly create each of the associations after selecting them in my form? I’m getting the IDs in my controller, and have allowed them as params, but they’re not auto saving
[08:18:57] bronson: has joined #RubyOnRails
[08:22:20] nertzy: has joined #RubyOnRails
[08:22:41] maciuszek: has joined #RubyOnRails
[08:26:52] ephemer0l_: has joined #RubyOnRails
[08:28:54] Guest97372: has joined #RubyOnRails
[08:49:18] ynonp: has joined #RubyOnRails
[08:49:41] DylanJ: has joined #RubyOnRails
[08:51:49] DylanJ: has joined #RubyOnRails
[08:55:48] dminuoso: timdotrb: just pass `user_ids: [1,2,3,4]` as params (note the pluralized _ids)
[08:55:59] dminuoso: (This also works in URL params)
[09:00:42] Technodrome: has joined #RubyOnRails
[09:01:33] workmad3: has joined #RubyOnRails
[09:01:57] timdotrb: dminuoso: thus far that isn’t working..
[09:02:01] timdotrb: dminuoso: https://gist.github.com/willc0de4food/88413f56069022308d0d7342b0aaa09e
[09:04:36] dminuoso: timdotrb: Curious why you are not getting a warning for un-permitted security_ids.
[09:04:58] timdotrb: Ahhh I named it incorrectly
[09:05:06] timdotrb: dminuoso: I’m curious about that as well..
[09:07:17] timdotrb: dminuoso: renaming the permitted param correctly didn’t resolve the issue. Could the null value at the beginning of the array be the problem?
[09:07:30] dminuoso: timdotrb: I've wondered about that as well. TIAS?
[09:10:52] marr: has joined #RubyOnRails
[09:14:58] arBmind: has joined #RubyOnRails
[09:15:01] tomoyuki28jp: has joined #RubyOnRails
[09:16:03] tomoyuki28jp: I use rails 5.1.4. How can I get rid of this warning? `ERROR -- : Couldn't cleanly terminate all actors in 10 seconds!`
[09:17:41] matthewd: tomoyuki28jp: Step one will be to work out where the message is coming from, because that's not Rails.
[09:18:02] timdotrb: dminuoso: the relationship IDs don’t end up in the params
[09:18:19] tomoyuki28jp: matthewd: The error occurs when I run `rails g migration`.
[09:18:30] dminuoso: timdotrb: Can you update your gist accordingly?
[09:19:58] matthewd: tomoyuki28jp: It's probably coming from a gem you've added to your application, but it's not coming from Rails itself
[09:20:12] bronson: has joined #RubyOnRails
[09:20:27] timdotrb: dminuoso: gist is updated
[09:20:28] dminuoso: Looks like celluloid to me
[09:20:35] tomoyuki28jp: matthewd: Oh, really. Is there a easy way to figure out where the error come from?
[09:20:58] dminuoso: tomoyuki28jp: Googling usually quickly gives you that answer.
[09:21:03] dminuoso: In your case it does.
[09:21:31] tomoyuki28jp: dminuoso: uhm, thanks
[09:25:10] dminuoso: timdotrb: You are using a stand-allone "collection_select", rather than f.collection_select.
[09:25:19] blackmesa: has joined #RubyOnRails
[09:25:35] timdotrb: dminuoso: figured it out. changed the permitted params from :security_ids to security_ids: []
[09:26:04] dminuoso: timdotrb: Still curious why StrongParams is not slapping you.
[09:26:17] dminuoso: Good catch, didn't spot that.
[09:26:18] workmad3: has joined #RubyOnRails
[09:26:18] timdotrb: dminuoso: Ya, I am quite curious about that as well..
[09:26:33] timdotrb: dminuoso: I’m on rails 5.0.6
[09:26:36] dminuoso: Im feeling like all of this could have been avoided by a single warning.
[09:26:58] timdotrb: Ya, for sure
[09:27:04] dminuoso: https://gist.github.com/willc0de4food/88413f56069022308d0d7342b0aaa09e#file-portfolios_controller-rb-L3
[09:27:29] dminuoso: timdotrb: This kind of mutation is probably what causes the issue.
[09:28:07] timdotrb: dminuoso: the sanitize? I just added that to get rid of the null value from the array
[09:28:29] dminuoso: timdotrb: I recommend not mutating things like that in filters (it makes it super hard to reason about data). It's generally easier to just provide a lens that does the filtering.
[09:29:18] kapil___: has joined #RubyOnRails
[09:31:20] bruno-_: has joined #RubyOnRails
[09:49:02] uks: has joined #RubyOnRails
[10:11:18] LambdaSource: has joined #RubyOnRails
[10:21:01] bronson: has joined #RubyOnRails
[10:34:13] Technodrome: has joined #RubyOnRails
[11:17:19] arBmind: has joined #RubyOnRails
[11:19:47] KeyJoo: has joined #RubyOnRails
[11:21:57] bronson: has joined #RubyOnRails
[11:23:37] Ergo: has joined #RubyOnRails
[11:27:30] worknick: has joined #RubyOnRails
[11:27:52] worknick: how scalable / recommended is this type of if condition on application layout? https://stackoverflow.com/questions/22646048/rails-render-a-different-header-just-on-homepage
[11:28:08] FernandoBasso: has joined #RubyOnRails
[11:28:36] worknick: won't that create extra processing overhead for all other pages?
[11:29:46] blackmesa: has joined #RubyOnRails
[11:31:38] Chernobuk: has joined #RubyOnRails
[11:33:46] blackmesa1: has joined #RubyOnRails
[11:54:33] tcopeland: has joined #RubyOnRails
[12:06:04] xco: has joined #RubyOnRails
[12:06:15] xco: hi. if i have a route like this admin_user GET /admin/users/:id(.:format) admin/users#show
[12:06:38] xco: isn’t it enough to do visit admin_user_path(users(:user)) in my capybara test?
[12:06:49] ynonp: has joined #RubyOnRails
[12:06:57] xco: it’s not working because capybara can’t find a page title on that page
[12:07:21] xco: users = fixtures called users
[12:13:03] xco: has joined #RubyOnRails
[12:19:47] apparition: has joined #RubyOnRails
[12:21:50] worknick: has left #RubyOnRails: ("Leaving")
[12:22:46] bronson: has joined #RubyOnRails
[12:23:09] ShalokShalom_: has joined #RubyOnRails
[12:23:50] xco: has joined #RubyOnRails
[12:30:37] GodFather: has joined #RubyOnRails
[12:34:19] keegnotrub: has joined #RubyOnRails
[12:36:07] wethu: has joined #RubyOnRails
[12:50:03] Chernobuk1: has joined #RubyOnRails
[12:51:13] jphase: has joined #RubyOnRails
[12:57:28] alfiemax: has joined #RubyOnRails
[13:02:21] blackmesa1: has joined #RubyOnRails
[13:10:54] fmcgeough: has joined #RubyOnRails
[13:12:14] jphase: has joined #RubyOnRails
[13:12:17] quirkycoders: has joined #RubyOnRails
[13:13:07] quirkycoders: has joined #RubyOnRails
[13:13:11] blackmesa1: has joined #RubyOnRails
[13:13:43] arBmind: has joined #RubyOnRails
[13:21:56] jphase: has joined #RubyOnRails
[13:23:29] bronson: has joined #RubyOnRails
[13:25:05] blackmesa: has joined #RubyOnRails
[13:31:58] ahrs: has joined #RubyOnRails
[13:35:29] tcopeland: has joined #RubyOnRails
[13:38:45] Kilo`byte: question regarding actioncable: how can i broadcast a message to all subscribers of a certain channel? ActionCable.server.broadcast('channel', foo: 'bar') does not seem to work (no target clients)
[13:40:32] bruno-: has joined #RubyOnRails
[13:43:43] roshanavand1: has joined #RubyOnRails
[13:44:15] fmcgeough_: has joined #RubyOnRails
[13:47:14] ResidentBiscuit: has joined #RubyOnRails
[13:48:22] truenito: has joined #RubyOnRails
[13:52:58] keegnotrub: has joined #RubyOnRails
[13:54:41] rfoust: has joined #RubyOnRails
[13:55:07] sevensidedmarble: has joined #RubyOnRails
[13:57:02] planigan: has joined #RubyOnRails
[14:01:40] irishfromua: has joined #RubyOnRails
[14:03:03] bruno-: has joined #RubyOnRails
[14:06:53] mtkd: has joined #RubyOnRails
[14:06:58] jphase: has joined #RubyOnRails
[14:09:04] LambdaSource: has joined #RubyOnRails
[14:13:09] EXCHGR: has joined #RubyOnRails
[14:13:11] blackmesa: has joined #RubyOnRails
[14:14:08] lunarkitty7: has joined #RubyOnRails
[14:15:43] duderonomy: has joined #RubyOnRails
[14:24:30] bronson: has joined #RubyOnRails
[14:49:14] jphase: has joined #RubyOnRails
[14:54:57] daveomcd: I'm using Action Cable to render a partial, but it's being called twice from one call. I'm guessing this is due to turbolinks? Is there a way I can eliminate the second call from turbolinks? https://gist.github.com/daveomcd/bd221c5270ce4f075bf861ba0eba71c3
[14:59:31] bruno-: has joined #RubyOnRails
[15:01:01] irishfromua: has joined #RubyOnRails
[15:01:25] solars: has joined #RubyOnRails
[15:03:18] solars: hi, when doing a PG raw query: ActiveRecord::Base.connection.execute("select booking_count from statistics").first I keep getting a hash with integer db fields as strings - how can I get the right types?
[15:06:12] blackmesa1: has joined #RubyOnRails
[15:07:20] bruno-: has joined #RubyOnRails
[15:12:17] bruno-: has joined #RubyOnRails
[15:12:49] chouhoulis: has joined #RubyOnRails
[15:13:52] JDeen: has joined #RubyOnRails
[15:14:54] orbyt_: has joined #RubyOnRails
[15:17:47] keegnotrub: has joined #RubyOnRails
[15:23:00] AzaToth: has joined #RubyOnRails
[15:24:39] planigan: has joined #RubyOnRails
[15:25:36] bronson: has joined #RubyOnRails
[15:26:59] gusrub: has joined #RubyOnRails
[15:33:42] bruno-: has joined #RubyOnRails
[15:36:32] _ritchie_: has joined #RubyOnRails
[15:41:16] one_zero: has joined #RubyOnRails
[15:46:15] elcontrastador: has joined #RubyOnRails
[15:46:33] conta: has joined #RubyOnRails
[15:46:37] s2013: has joined #RubyOnRails
[15:47:37] dionysus69: has joined #RubyOnRails
[15:50:26] rgr: has joined #RubyOnRails
[15:51:04] [Butch]: has joined #RubyOnRails
[15:53:31] EXCHGR: has joined #RubyOnRails
[15:54:54] tcopeland: has joined #RubyOnRails
[16:07:11] atrius: has joined #RubyOnRails
[16:16:35] LambdaSource: has joined #RubyOnRails
[16:20:50] chouhoulis: has joined #RubyOnRails
[16:23:44] conta: has joined #RubyOnRails
[16:25:32] cagomez: has joined #RubyOnRails
[16:26:29] bronson: has joined #RubyOnRails
[16:28:12] truenito: has joined #RubyOnRails
[16:28:54] gregf_: has joined #RubyOnRails
[16:32:21] quirkycoders: has joined #RubyOnRails
[16:41:14] elcontrastador: has joined #RubyOnRails
[16:42:15] dviola: has joined #RubyOnRails
[16:43:56] mtkd: has joined #RubyOnRails
[16:48:08] Technodrome: has joined #RubyOnRails
[16:48:56] GodFather: has joined #RubyOnRails
[16:51:09] kies: has joined #RubyOnRails
[16:52:33] mcr1: has joined #RubyOnRails
[16:59:39] quirkycoders: has joined #RubyOnRails
[17:00:48] truenito: has joined #RubyOnRails
[17:04:54] nickjj: has joined #RubyOnRails
[17:12:07] milesmatthias: has joined #RubyOnRails
[17:27:09] bronson: has joined #RubyOnRails
[17:27:34] brendan-: has joined #RubyOnRails
[17:29:23] gambl0re: has joined #RubyOnRails
[17:33:01] truenito: has joined #RubyOnRails
[17:33:04] GodFather: has joined #RubyOnRails
[17:33:54] DrYockel: has joined #RubyOnRails
[17:34:16] arBmind: has joined #RubyOnRails
[17:48:34] dionysus69: has joined #RubyOnRails
[17:57:23] planigan: has joined #RubyOnRails
[18:01:46] conta5: has joined #RubyOnRails
[18:05:44] ams__: has joined #RubyOnRails
[18:19:05] ur5us: has joined #RubyOnRails
[18:20:21] srkska: has joined #RubyOnRails
[18:20:44] keegnotrub_: has joined #RubyOnRails
[18:23:39] mcr1: has joined #RubyOnRails
[18:28:00] bronson: has joined #RubyOnRails
[18:30:30] keegnotrub: has joined #RubyOnRails
[18:36:38] dionysus69: has joined #RubyOnRails
[18:45:56] mostlybadfly: has joined #RubyOnRails
[18:55:12] srinidhi: has joined #RubyOnRails
[18:57:34] orbyt_: has joined #RubyOnRails
[19:03:18] quirkycoders: has joined #RubyOnRails
[19:05:00] srkska: has joined #RubyOnRails
[19:05:19] keegnotrub: has joined #RubyOnRails
[19:06:20] wnel: has joined #RubyOnRails
[19:08:11] wnel: Good afternoon/evening everyone
[19:11:48] wnel: Im pretty new to rails (couple months experience now) and I am having a really hard time getting some logic around my head using has_many through and accepts_nested_attributes_for. Everything seems to be working in my rails console but for whatever reason im confusing myself when it comes to writing the values from my view. I would really appreciate some guru help me out with this. It has honestly been days and I have confused mysel
[19:13:22] wnel: If anyone has the time to fire me a PM, you would really be helping me out.
[19:14:43] wnel: I did try and ask for some guidence on stackoverflow but never recieved any replies.
[19:17:33] FrostCandy: has joined #RubyOnRails
[19:18:56] FrostCandy: In my rake routes I get paths like controller/:id/method(.:format) what is the .:format? In my urls it's just controller/10/method no format ?
[19:19:05] hammer065: has joined #RubyOnRails
[19:19:45] FrostCandy: would you ever create a path like controller/id/method/html ?
[19:27:53] srkska: has joined #RubyOnRails
[19:28:50] bronson: has joined #RubyOnRails
[19:31:10] arup_r: has joined #RubyOnRails
[19:31:34] LateralO1: has joined #RubyOnRails
[19:34:06] [Butch]: has joined #RubyOnRails
[19:34:08] weaksauce: has joined #RubyOnRails
[19:43:59] elomatreb: FrostCandy: That would be the .html/.json/etc
[19:48:08] lord4163: has joined #RubyOnRails
[19:48:15] [Butch]: has joined #RubyOnRails
[19:53:53] Technodrome: has joined #RubyOnRails
[20:02:42] wnel: I just wanted to share my stackoverflow link with you guys incase someone has the time to give me some guidence how to approach my issue: https://stackoverflow.com/questions/46752360/assigning-additional-values-with-has-many-through Thanks
[20:02:51] wnel: and girls*
[20:11:59] workmad3: has joined #RubyOnRails
[20:14:44] cagomez: has joined #RubyOnRails
[20:17:12] weaksauce: has joined #RubyOnRails
[20:29:38] bronson: has joined #RubyOnRails
[20:30:02] arBmind: has joined #RubyOnRails
[20:34:12] ur5us: has joined #RubyOnRails
[20:35:02] ^mtkd: has joined #RubyOnRails
[20:39:25] truenito: has joined #RubyOnRails
[20:49:55] Technodrome: has joined #RubyOnRails
[20:58:08] FooMunki: has joined #RubyOnRails
[21:06:45] orbyt_: has joined #RubyOnRails
[21:11:17] Technodrome: has joined #RubyOnRails
[21:20:31] truenito: has joined #RubyOnRails
[21:24:21] mtkd: has joined #RubyOnRails
[21:29:21] duderonomy: has joined #RubyOnRails
[21:34:08] fox_mulder_cp: has joined #RubyOnRails
[21:37:53] FrostCandy: elomatreb: oh ok thanks (.:format) being in parens means optional then.
[21:55:46] mostlybadfly: has joined #RubyOnRails
[22:02:45] jarray52: has joined #RubyOnRails
[22:04:20] jarray52: How do most of you test your actioncable code?
[22:05:42] lupine: Never done it in ruby. I go, I just stand up a server or client and send messages through it
[22:05:54] lupine: Might be too slow to be sane :-/
[22:06:47] jarray52: lupine: I’m aware of https://github.com/rails/rails/pull/23211
[22:07:02] jarray52: lupine: So, what you’re suggesting may be the best way.
[22:07:27] jarray52: How exactly do you send messages through to the rails server?
[22:09:03] jarray52: What tools/clients do you use?
[22:10:09] lupine: As I said, I've not done it in ruby
[22:10:26] ForeignBiscuit: has joined #RubyOnRails
[22:10:34] lupine: Presumably there's some tooling though. One can hope
[22:11:17] jarray52: Some nice GUI (complying with actioncable protocol) would be nice.
[22:11:32] jarray52: But, I haven’t found anything.
[22:11:50] jarray52: that is convenient to use
[22:12:34] workmad3: has joined #RubyOnRails
[22:13:44] bronson: has joined #RubyOnRails
[22:17:32] bronson: has joined #RubyOnRails
[22:18:04] santi: has joined #RubyOnRails
[22:18:14] jphase: has joined #RubyOnRails
[22:18:24] lupine: https://medium.com/@tomekw/unit-testing-actioncable-channels-with-rspec-ca67ca6834af
[22:18:35] lupine: I can find that in the middle of a powercut
[22:18:46] lupine: Get with the program :-D
[22:25:46] orbyt_: has joined #RubyOnRails
[22:28:07] santi: has joined #RubyOnRails
[22:31:59] guacamole: has joined #RubyOnRails
[22:37:40] nickjj: has joined #RubyOnRails
[22:41:04] wethu: has joined #RubyOnRails
[22:43:58] dviola: has joined #RubyOnRails
[22:55:19] LambdaSource: has joined #RubyOnRails
[22:59:28] tcopeland: has joined #RubyOnRails
[23:02:23] conta: has joined #RubyOnRails
[23:15:40] jphase: has joined #RubyOnRails
[23:17:05] dblessing: has joined #RubyOnRails
[23:23:23] wnel: Using has_many through, I am able to assign values on the rails console, however I am having trouble replicating it for my UI. how can I have my view execute the logic I would in my rails console?
[23:24:38] wnel: i have created a stackoverflow post which outlines my whole problem im having. Ive been working whole days on trying to solve this one issue. Any advice would be very VERY much appreciated. thanks https://stackoverflow.com/questions/46752360/assigning-additional-values-with-has-many-through
[23:25:27] wnel: i hate to have asked again, but I have become pretty confused and desprite
[23:27:51] lupine: Accepts_nested_attributes_for in the model. Fields_for in the view and don't forget hidden_field :id
[23:28:42] rfoust: has joined #RubyOnRails
[23:29:37] wnel: hidden_field! I havent tried anything with hidden_field. I will have a look into that. Thank you
[23:29:42] lupine: The problem you have is that you want to store results,not questions
[23:30:01] lupine: So the form has to reflect that
[23:30:39] lupine: accepts_nested.... :results on the model
[23:31:18] lupine: Then for each *question*, in the view, a hidden_field for the question_id
[23:31:46] lupine: But it's a fields_for :result
[23:31:54] lupine: Or :results
[23:32:09] lupine: Bit of a mess, you might want to redesign the schema
[23:33:20] wnel: so accept_nested_attributes :results in my appointment model and look into using hidden_field for the question_id in my view?
[23:33:55] wnel: the field_for would be on :results you say. Ive been trying it on :questions
[23:34:58] wnel: care if i send you a PM lupine? i promise not to flood you with messages
[23:39:41] jphase: has joined #RubyOnRails
[23:42:24] wnel: would i need to nest 2 fields_for? or does the hidden_field take care of that for me?
[23:44:52] orbyt_: has joined #RubyOnRails
[23:45:13] harrycs: has joined #RubyOnRails
[23:50:35] harryv: has joined #RubyOnRails
[23:58:05] jphase: has joined #RubyOnRails
[23:58:44] tcopeland: has joined #RubyOnRails
[23:59:57] s2013: has joined #RubyOnRails