Categories
Ruby on Rails Framework

How to create rake task to parse Excel file and insert into table in ROR

In one of my recent project, I am receiving Excel files from external APIs and I have to parse, validate data and then I have to insert into database table. So I have created a task to automate this process, this task will run every time when there is a change in the directory (Whenever […]

Categories
Ruby on Rails Framework

ROR – How to update email of user when using devise gem?

If you update user email address when you are using device gem, it will be stored in the unconfirmed_email column and it will trigger email by asking confirmation with a confirmation link. If you want to override this behavior you can do that, by calling skip_reconfirmation!. To skip only the reconfirmation email notification use: skip_confirmation_notification! […]

Categories
Ruby on Rails Framework

Ruby on Rails Framework basic tutorial

From Ruby on Rails developers “Ruby on Rails® is an open-source web framework that’s optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration. What is Ruby on Rails Ruby on Rails, or simply Rails, is a web application framework written in Ruby under MIT License. Rails […]