A review of code reloaders for Ruby
In late July, e-Core developer, Rodrigo Rosenfeld, published two articles about code reloaders use in Ruby applications on the technical newsite Ruby Weekly.
Code reloaders for Ruby
Code reloaders are very useful in keeping the system behavior consistent with the latest changes to the code, avoiding to manually restart the server after each change.
Since automatic code reloading usually works well enough for Rails applications, most people won’t research about code reloaders until they are writing web apps with other frameworks or when it negatively affects the user. For example, the users are affected by some corner case where the automatic code reloading doesn’t work well.
The articles were written when Rodrigo was using Roda and felt the need to build a personal approach because he was not satisfied with the options he had found.
The first, A Review of Code Reloaders for Ruby, presents reviews of different automatic code reloaders, as Rack::Reloader, rerun, shotgun, even the solution using ActiveSupport::Dependencies, the reloader used by Rails. This article analyzes how they work, the best situations for each approach and the benefits highlighted in their use. The discussion leaves specific reloaders like Sinatra::Reloader and Padrino::Reloader out of the scope.
The latter, AutoReloader: a transparent automatic code reloader for Ruby, presents the auto_reloader and his automatic approach for reloading Ruby codes.
If you’re interested in future discussions, see Rodrigo Rosenfeld’s articles on Ruby and follow our blog.
The Atlassian Marketplace is a portal that provides access to many apps that will optmize tools that you use, like Jira, Confluence, Bamboo and others. In addition, you can differentiate yourself by your integration potential. It allows customers to discover and...
We know that at the time of purchase and / or renewal of licenses of Jira, Confluence or other Atlassian tool, some doubts arise. In an effort to help you solve some of them, we've chosen the key issues we're addressing at the moment. Are additional licenses required...
Understand the benefits of purchasing licenses with an Atlassian Platinum Partner and make it easier for your to obtain tools like Jira, Confluence and Marketplace Apps.