17 followers
Software developer. Topics: Ruby, Rails, Design patterns and software engineering in general.
GitHub: https://github.com/alexcalaca
Theory · Problem How to use Atom feed format in your Rails application. Click here if you just want to check the implementation part. Introduction In...
TL; DR: Redirect to a javascript file in your controller and create a brilliant javascript code. Objective Learn how to handle Ajax requests in Ruby...
Revisited on May 28th, 2023 TL; DR: Configure a CSS class and include it to apply the technique. Problem In an Ajax-based application, users may...
TL; DR: Set the maxlength attribute to the desired number Problem How to limit the number of characters in a text field in Rails. Explanation The...
TL; DR: The best strategy is the one based on your needs. Problem The ActiveRecord::RecordInvalid error is an exception raised in Ruby on Rails when...
TL; DR: Seriously, this form implementation is incredibly simple Situation How to create a super basic search form in Ruby on Rails. The following...