Skip to content

Not working for active_record 2.3.2 #1

Description

@umaviswanathan

I have included this

sunspot_submodel_index :parent => :usage

in model file

while checking the page in browser I got this error

undefined method `class_attribute' for #Class:0xb60b4f30

/home/premedia/.rvm/gems/ruby-1.8.7-p370/gems/activerecord-2.3.2/lib/active_record/base.rb:1964:in method_missing_without_paginate' /home/premedia/.rvm/gems/ruby-1.8.7-p370/gems/will_paginate-2.3.16/lib/will_paginate/finder.rb:170:inmethod_missing'
/home/premedia/.rvm/gems/ruby-1.8.7-p370/gems/sunspot_submodel_index-0.0.4/lib/sunspot_submodel_index/submodel_index.rb:33:in sunspot_submodel_index' /home/premedia/Desktop/prepress/app/models/request.rb:23 /home/premedia/Desktop/prepress/app/views/projects/index.html.erb:42:in_run_erb_app47views47projects47index46html46erb'
/home/premedia/Desktop/prepress/app/views/projects/index.html.erb:30:in each' /home/premedia/Desktop/prepress/app/views/projects/index.html.erb:30:in_run_erb_app47views47projects47index46html46erb'

can I get any help on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions