Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged validation



« Prev 1 Next »
  1. FAV

    Rescuing From RecordNotUnique

    Use rescue_from ActiveRecord::RecordNotUnique when DB transaction fail on uniqueness check
    Rails 6 views posted 5 years ago by yaworsk
  2. FAV

    Shoulda with TestUnit: Conditional Validation using Shoulda/Subject

    Rails 4 views posted 8 years ago by widescape
  3. FAV

    Conditional validations

    From railscast #41
    Rails saved by 4 people 2 views posted 12 years ago by bordalix
« Prev 1 Next »