Just to save time of someone:
Who is having a "uninitialized constant
ActiveRecord::Reflection::ClassMethods::ThroughReflection" I suggest to
modify dir name of has_many_polymorphs to 00_has_many_polymorphs.


On Fri, May 29, 2009 at 4:00 PM, Rafael Souza <raf...@maisweb.org> wrote:

> it works! =)
> I have plans to understand the radiant to create my own extensions soon...
> Thanks!
>
>
>
> On Fri, May 29, 2009 at 3:39 PM, Sean Cribbs <seancri...@gmail.com> wrote:
>
>> Add "require_dependency 'application'" to the top of the extension.  That
>> should clear it up!
>>
>> Sean
>>
>> Rafael Souza wrote:
>>
>>> I think it is a problem in activate method in
>>> vendor/extensions/tags_extension.rb when it calls 'SiteController.send
>>> :include, SiteControllerExtensions'
>>>
>>> But I don't know how to fix it...
>>>
>>> On Thu, May 28, 2009 at 5:43 PM, Rafael Souza <raf...@maisweb.org>
>>> wrote:
>>>
>>>
>>>
>>>> Here is the log:
>>>>
>>>> jo...@abraham:~/teste$ rake radiant:extensions:tags:install --trace
>>>> (in /home/joice/teste)
>>>> ** Invoke radiant:extensions:tags:install (first_time)
>>>> ** Invoke environment (first_time)
>>>> ** Execute environment
>>>> rake aborted!
>>>> uninitialized constant ApplicationController
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:279:in
>>>> `load_missing_constant'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
>>>> `const_missing'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
>>>> `const_missing'
>>>>
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/app/controllers/site_controller.rb:1
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
>>>> `load_without_new_constant_marking'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
>>>> `load_file'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
>>>> `new_constants_in'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
>>>> `load_file'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in
>>>> `require_or_load'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:261:in
>>>> `load_missing_constant'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in
>>>> `const_missing'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:480:in
>>>> `const_missing'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
>>>> `send'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:486:in
>>>> `const_missing'
>>>> /home/joice/teste/vendor/extensions/tags/tags_extension.rb:44:in
>>>> `activate'
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/lib/radiant/extension.rb:38:in
>>>> `activate'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:216:in
>>>> `to_proc'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/lib/radiant/extension_loader.rb:94:in
>>>> `each'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/lib/radiant/extension_loader.rb:94:in
>>>> `activate_extensions'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/lib/radiant/initializer.rb:122:in
>>>> `after_initialize'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/railties/lib/initializer.rb:152:in
>>>> `process'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/railties/lib/initializer.rb:97:in
>>>> `send'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/railties/lib/initializer.rb:97:in
>>>> `run'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/lib/radiant/initializer.rb:101:in
>>>> `run'
>>>> /home/joice/teste/config/environment.rb:12
>>>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
>>>> `gem_original_require'
>>>> /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
>>>> `require'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
>>>> `new_constants_in'
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in
>>>> `require'
>>>>
>>>>
>>>> /usr/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/railties/lib/tasks/misc.rake:3
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in
>>>> `invoke_with_call_chain'
>>>> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
>>>> `invoke_with_call_chain'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in
>>>> `invoke_prerequisites'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in
>>>> `invoke_prerequisites'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:577:in
>>>> `invoke_with_call_chain'
>>>> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
>>>> `invoke_with_call_chain'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in `invoke'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `each'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in `top_level'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
>>>> `standard_exception_handling'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in `top_level'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
>>>> `standard_exception_handling'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
>>>> /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
>>>> /usr/bin/rake:19:in `load'
>>>> /usr/bin/rake:19
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Radiant mailing list
>>> Post:   Radiant@radiantcms.org
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>
>>>
>>>
>>
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
>
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to