I'm getting the following error when I click on the COMMENTS link in
admin:


NameError in Admin#comments

Showing vendor/plugins/community_engine/app/views/admin/
comments.html.haml where line #8 raised:

Constant TypeLikeBefore from type_like_before.rb not found
Extracted source (around line #8):

5:     - form_for @search, :html => {:class => "MainForm"} do |f|
6:
7:       = f.label :commentable_type.l
8:       = f.text_field :commentable_type_like
9:
10:       =f.label :commentable_id.l
11:       =f.text_field :commentable_id
RAILS_ROOT: /Users/Alexis/code/Alexis/public/sfwu

Application Trace | Framework Trace | Full Trace
/Library/Ruby/Gems/1.8/gems/desert-0.5.4/lib/desert/rails/
dependencies.rb:15:in `load_missing_constant'
/Library/Ruby/Gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:
206:in `const_missing'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/association_conditions.rb:45:in
`association_condition_details'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/association_conditions.rb:11:in `association_condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/association_conditions.rb:6:in `condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/association_ordering.rb:14:in `condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/ordering.rb:11:in `condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/alias_scope.rb:59:in `condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
named_scopes/or_conditions.rb:10:in `condition?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
search.rb:204:in `scope?'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
search.rb:110:in `respond_to?'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:229:in `call'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:229:in `form_for'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:588:in
`call'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:588:in
`haml_bind_proc'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
rails_helpers.rb:73:in `fields_for'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:235:in `form_for'
/Library/Ruby/Gems/1.8/gems/searchlogic-2.4.24/lib/searchlogic/
rails_helpers.rb:64:in `form_for'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:343:in
`call'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:343:in
`capture_haml'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:566:in
`with_haml_buffer'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers.rb:339:in
`capture_haml'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:88:in `capture'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:13:in `render'
/Library/Ruby/Gems/1.8/gems/haml-3.0.18/lib/haml/helpers/
action_view_mods.rb:13:in `render'

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to