Skip to content

Loading…

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

Closed
dfischer opened this Issue · 1 comment

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
Collaborator

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

@caboteria caboteria closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.