open source account management system rails
https://github.com/activerecord-hackery/ransack
https://medium.com/le-wagon/build-a-simple-search-with-the-simple-form-gem-in-rails-5-b247168282d1
https://github.com/activerecord-hackery/squeel
https://github.com/radar/by_star
rails new accounting-management-system --database=postgresql
rails db:create
rails generate devise Admin (after this add columns extra in migration to make model as your needs)
rails g rolify Role Admin (To manage roles)
rails generate devise:views admins
rails generate devise:controllers admins
rails g model Product name:string description:text amount:integer admin:references
rails g controller super_admin/admin index show new create edit update destroy
rails g model Product name:string description:text amount:integer admin:references
rails generate migration RemoveAdminIdFromAnimals admin_id:bigint
rails generate migration add_email_to_users email:string
rename_column :table, :old_column, :new_column
@vendors = Vendor.select("*").joins(:products)
def change remove_column :payments, :date add_column :payments, :date, :datetime end
https://medium.com/le-wagon/build-a-simple-search-with-the-simple-form-gem-in-rails-5-b247168282d1 https://github.com/plataformatec/simple_form
https://github.com/mattnedrich/ruby-excel-library-examples https://github.com/roo-rb/roo