I have
class User < ActiveRecord::Base
attr_accessible :email
validates :email,
presence: true
serialize :data, ActiveRecord::Coders::Hstore
end
and
<%= simple_form_for User.new do |f| %>
<%= f.input :email %>
<%= f.input :first_name %>
<%= f.input :zipcode %>
<%= f.button :submit, 'Sign up' %>
<% end %>
Why when I want to Sign up
I get an error:
undefined method `zipcode' for #<User:0x007fd397631650>
Full trace: https://gist.github.com/3c9df05758ea3d486989