On 27 September 2013 11:06, GeorgeL <[email protected]> wrote:
> Why am I getting nil errors in "create_time_zone_conversion_attribute?"
>
> Where do I start in trying to determine how to diagnose and debug this
> issue?  I have been looking at it for a couple of days now and I am pretty
> stuck.  What should one be looking for in order to track this down?
>
>
> /Users/myself/.rvm/gems/ruby-2.0.0-p247@rails4/gems/activerecord-4.0.0/lib/active_record/attribute_methods/time_zone_conversion.rb:56:in
> `create_time_zone_conversion_attribute?'

> [snip]

> NoMethodError (undefined method `save' for nil:NilClass):
>   app/controllers/registrations_controller.rb:45:in `block (2 levels) in
> create'

I would start by looking at that line of code and working out why you
are trying to save something that is nil.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvcib8HkZp0ksiKVcB2F-zLbaZpfg9n1EF_5MX8bnP3Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to