Overuse of Rails engines | Saeloun Blog
01-Jul-2022 1096
All of us would have used the well-known Devise gem for authentication in Rails but we can also say it’s an engine. So, simply put a Rails engine is the miniature edition of a Rails application. It comes with its own app folder which includes controllers, models, etc The only difference is, that an engine won’t work on its own so, to make it work we need to inject it into the main Rails application.Rails engines were introduced to deal with bloated architectures by creating modular and reusable components but, everything is a curse if it is overused.Rails engines can be a powerful asset if implemented using a well-thought design otherwise it could lead to various problems.
Overuse of Rails engines | Saeloun Blog #ruby #rubydeveloper #rubyonrails #Overuse #Rails #engines #Saeloun #blog #engines https://rubyonrails.ba/link/overuse-of-rails-engines-saeloun-blog