Posts by pedrocalgaro • 36 points
2 posts
-
0
votes2
answers413
viewsA: Alternatives for Rails server and deploy applications
Your Jota, to deploy, I ultilizo the Mine. It is a tool for automated deploy very interesting and very easy to use, take a look: https://github.com/nadarei/mina…
-
2
votes2
answers1254
viewsA: Model validation when update_attributes in Rails
Cassio, considering that you want to do this validation only in the update, you could do something like: class Invoice < ActiveRecord::Base validate :active_customer, on: :update def…