Kaminari gem is used to create pagination in Ruby on Rails application. Step 1: Open the terminal and Create the new application > rails new simplepage Step 2: After you create the blog application, switch to its folder: > cd simplepage Step 3: Open and Add it to your Gemfile to following line gem 'kaminari' Step 4: Run the bundle install.It's used to install the gem dependencies that are already mentioned in Gemfile > bundle install Step 5: create the form using scaffolding. Rails scaffolding is a quick way to generate some of the major pieces of an application.(Create, Edit, Delete, Update, Show) ...
Devise gem is used to make a simple authentication solution in rails.You no need to create authentication form it will create automatically. Like Username, Password, Signin, Signup, Forgot Password and Remember me.Please follow below steps. 10 Steps for Setup Devise gem in rails application : Step 1 : Create a new Ruby on Rails Application > rails new devexam . Step 2: Open Gemfile and add the devise gem in Gemfile (devexam/Gemfile) gem 'devise' Step 3: Install newly added gem > bundle install Step 4: Create the Product form with CRUD using scaffold > rails g scaffold Product name:string price:integer description:text Step 5: Apply changes to database.Product table added to database with help of migration. > rake db:migrate ...