controller the rails way

learnzone-rails looks like a good Java project…but it is not coded in Java! Trying to switch to a more Rails-ish way:

  • Using concerns (modules) instead of abstract classes
  • Exception handlers are using concerns instead of try...catch... each methd
  • Responders!

According to this SO question, respond_with has been removed from Rails 4.2. Question is: what is now the recommended practice?


Articles: