v6.1.3.1 - 
      Show latest stable
 - 
    0 notes
    
  
Active Record Validations
Active Record includes the majority of its validations from ActiveModel::Validations all of which accept the :on argument to define the context where the validations are active. Active Record will always supply either the context of :create or :update dependent on whether the model is a {new_record?}[rdoc-ref:Persistence#new_record?].

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
   
   
    
 
    
    
     
  
 