add attr_accessibles to models. Modify Gemfile