Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shamil614
Created November 18, 2014 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamil614/9e72f713c3a0319d3888 to your computer and use it in GitHub Desktop.
Save shamil614/9e72f713c3a0319d3888 to your computer and use it in GitHub Desktop.
Demo how to use localize ActiveRecord errors
en:
helpers:
submit:
offer:
create: "Make Offer"
bid:
create: "Place Bid"
activerecord:
errors:
models:
bid:
attributes:
amount:
not_high_enough: "must be more than previous bids"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment