Tag Archives: format.js

A Discussion on Ajax


It took me an excruciatingly long time to figure out how to build a Rails form with Ajax. While searching for a solution I often found instructions to simply add remote: true to my form_for code block, and then to wave around some JavaScript magic. I plugged away for days and NOTHING worked. It was a nightmare. Understanding Ajax at a high level helped me overcome this learning hurdle.

https://tatyanacodes.wordpress.com/2015/08/13/a-discussion-on-ajax/

Display Error Messages on an Ajax Rails Form: Three Methods


Soon I will release a series of posts that walk through how to build a real-world database-backed contact form in a Ruby on Rails application. While working on that series, I decided to also write a shorter post that expands upon a topic I will later touch on, namely, how to display error messages on an Ajax Rails form.

https://tatyanacodes.wordpress.com/2015/08/15/display-error-messages-on-an-ajax-rails-form-three-methods/

Build a Rails Form (and Skip the Gems!) – An Overview


One of the first times I needed to implement database-backed functionality was when I built a contact form for a Ruby on Rails web application. This is the beginning of a series of posts that walk through how to build a database-backed contact form in Ruby on Rails.

https://tatyanacodes.wordpress.com/2015/08/17/build-a-rails-form-and-skip-the-gems-an-overview/

Build a Rails Form (and Skip the Gems!) – Part III: Input Validation & Help Text


This is the fourth post in a series that walks through how to build a database-backed contact form in Ruby on Rails.

https://tatyanacodes.wordpress.com/2015/08/18/build-a-rails-form-and-skip-the-gems-part-iii-input-validation-help-text/