[Rails] Re: Compose data for a column from two fields

2010-11-30 Thread Leonel *.*
I was working on that two months ago and I thought I had everything figured out. But I stopped coding and now that I'm back I can't remember what was my plan to do that. Thanks guys! I'll try your suggestions. -- Posted via http://www.ruby-forum.com/. -- You received this message because yo

[Rails] Re: Compose data for a column from two fields

2010-11-30 Thread IAmNan
Leonel, Rails is (rightfully) telling you that those attributes of the model don't exist yet. You said, "...then mix up the two (probably in the controller)..." That's the part that is missing. How you do that is through virtual attributes (see Railscast #16 and #167) and done in the Model, not the

[Rails] Re: Compose data for a column from two fields

2010-11-30 Thread Marnen Laibow-Koser
Leonel *.* wrote in post #965158: > I'm working on a datepicker and a timepicker. The datepicker is the > jQuery datepicker. The timepicker displays a drop down menu with > available times. > > I want to have two different fields: the datepicker and timepicker. Then > mix up the two (probably in th

[Rails] Re: Compose data for a column from two fields

2010-11-30 Thread Ray Parker
Use the _tag versions of the form helpers. i.e., text_field_tag instead of f.text field. On Nov 30, 11:52 am, "Leonel *.*" wrote: > I'm working on a datepicker and a timepicker. The datepicker is the > jQuery datepicker. The timepicker displays a drop down menu with > available times. > > I want