Just upgraded to 0.4.5 and undefined method `title' for #<Hash:0x007f8cf67dc190> #1571

Closed
dfischer opened this Issue Mar 20, 2013 · 1 comment

Comments

Projects
None yet
3 participants
@dfischer

I upgraded from 0.2.0 to 0.4.5 and now I get this:

NoMethodError in Rails_admin/main#index


undefined method `title' for #<Hash:0x007f8cf67dc190>

Extracted source (around line #128):

125:             - if @other_left_link ||= other_left && index_path(params.except('set').merge(params[:set].to_i != 1 ? {:set => (params[:set].to_i - 1)} : {}))
126:               %td.other.left= link_to "...", @other_left_link, :class => 'pjax'
127:             - properties.map{ |property| property.bind(:object, object) }.each do |property|
128:               - value = property.pretty_value
129:               %td{:class => "#{property.css_class} #{property.type_css_class}", :title => strip_tags(value)}= value
130:             - if @other_right_link ||= other_right && index_path(params.merge(:set => (params[:set].to_i + 1)))
131:               %td.other.right= link_to "...", @other_right_link, :class => 'pjax'

The issue does not seem to exist in 0.3.0 which I just tried.

@mshibuya

This comment has been minimized.

Show comment
Hide comment
@mshibuya

mshibuya Jun 24, 2013

Collaborator

Could you pase full stack trace and your RailsAdmin model config?

Collaborator

mshibuya commented Jun 24, 2013

Could you pase full stack trace and your RailsAdmin model config?

@caboteria caboteria closed this Aug 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment