Ruby on Rails Monday, April 25, 2016

On 25 April 2016 at 16:08, Naveed Alam <lists@ruby-forum.com> wrote:
> 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.

That does not answer the question.

If you search your code for Configuration does it find anything?

Colin

>
> --
> 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.

--
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%3D0gLu6wHA7ukxUr99DZhhWiOMOLc2HZkFFZmZNc5Y9%3DQCtrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment