Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix undefined method 'constantize' error #7

Open
welitonfreitas opened this issue Jul 25, 2014 · 3 comments
Open

fix undefined method 'constantize' error #7

welitonfreitas opened this issue Jul 25, 2014 · 3 comments

Comments

@welitonfreitas
Copy link

undefined method `constantize' for #ActiveModel::Name:0x261fd148
Extracted source (around line #6):

<%= f.attribute_fields do |a| %>
  <span class="fields" data-object-name="<%= f.object_name %>">
  <%= a.attribute_select({}, :class => 'ransack_attribute') %>
<% end %>

<%= f.predicate_select({}, :class => 'ransack_predicate') %
@welitonfreitas
Copy link
Author

This method has been moved to ActiveSupport::Inflector#constantize on rails 4

@ndbroadbent
Copy link
Collaborator

Sorry, I haven't had a chance to look at this project for a long time. No problem if you don't have time, but please feel free to submit a Pull Request that fixes this issue. If you're really interested in the project, I could even add you as a collaborator so that you can help with development and maintenance.

@rchady
Copy link

rchady commented Mar 28, 2016

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants