I have generated a model and a controller in
rails 4,Client and ClientsController, and configure the database.yml with the postgres adapater and the database name, and i want that rails get the table attributes from the clients table and generate the forms and all the scaffolding CRUD operations. I've seen in the web some similar solutions but with mysql database and i think with rails 3:
class ClientsController < ApplicationController
scaffold:client
end
but when calling any of the web urls, rails advertised that i have
pending migrations, and if you think about it i dont need to migrate the
model because is already in the database....
any help is welcome !