spec/internal/app/controllers/users_controller.rb in databound-2.0.1 vs spec/internal/app/controllers/users_controller.rb in databound-3.0.0

- old
+ new

@@ -1,13 +1,6 @@ class UsersController < ApplicationController - include Databound - - private - - def model - User - end - - def permitted_columns - %i(name city) + databound do + model :user + columns :name, :city end end