users_controlller.rb

1
2
3
4
5
6
7
8
9
def yourMethod

@user = User.new
@user.atribute_list = params[ :user ] [ :atributes ] # but you can do it for any context!
@user.feature_list = params[ :user ] [ :features ] # but you can do it for any context!
@user.save

end