Ruby on Rails Wednesday, July 22, 2015

On 22 July 2015 at 20:21, agusddt <agusddt@gmail.com> wrote:
> Sorry about that, problem is on line highlighted.
> This is sunspot_configuration.rb:
> ...
>>> Kernel.const_get "#{model_name.gsub('.rb', '').camelize}"

Well, as the error indicates, presumably model_name 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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtVtdywEChSgOSW2bfcNtjMfOr4Qj_Bs%3D9s61K8kgLyNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment