Friday, February 25, 2011

Re: [Rails] multiple rescue for create

@tour_type = TourType.new(params[:tour_type])

On Friday, February 25, 2011 11:33:21 PM UTC-6, bacrossland wrote:
On Fri, Feb 25, 2011 at 11:23 PM, Me <chab...@gmail.com> wrote:
The error is from the time select that rails provides if you have validations on that.


So your time select is for :usual_start_time and :usual_end_time I take it. The time that is being selected, is it in a format that your database will accept as valid?

> /app/models/tour_type.rb:72:in `new'

Also, what is on line 72 of the model?


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate