RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Rails Model Translations

Rails gives you a nice way for translating model files with Model.model_name.human and Model.human_attribute_name(attribute). This blog post shows how it works, how form_for is using it and introduces a small gem to generate those files automatically from all of your models.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in