igorkasyanchuk / rails_db

Rails Database Viewer and SQL Query Runner

Home Page:https://www.railsjazz.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rails 3.2 no attr_accessible support breaks creates and updates

spacewaffle opened this issue · comments

I found that when creating or updating records, no parameters get inserted because attr_accessor doesn't exist on the created classes. This is due to the gem supporting Rails 4 strong parameters but not the old Rails 3 attr_accessible way.

good catch too ...
could you please make a PR with this fix? for Rails < 4 ?