[Rails] Re: warning: toplevel constant Configuration referenced by ActiveRecord::Base::Configuration
Greg Navis wrote in post #1183062:
> The simplest way to trigger this warning (it's not Rails-related BTW) is
> this:
>
> $ irb
> irb(main):001:0> class Foo
> irb(main):002:1> end
> => nil
> irb(main):003:0> Foo::Array.new
> (irb):3: warning: toplevel constant Array referenced by Foo::Array
> => []
>
> So it seems that in addition to ActiveRecord::Base:Configuration
> there's
> another class called Configuration defined at the top level.
>
> Did you define this class? If not, does any of your dependencies define
> this class?
As I told before in Rails 2.3.5 it was working fine, even though was
showing this warning as well but even then I could change the theme, but
in 2.3.10 its not changing the theme.
--
Posted via http://www.ruby-forum.com/.
--
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/1f8d932b6e87d54c17a1b78d975aedf9%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment