Created
October 10, 2009 18:35
-
-
Save phuesler/207018 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tag < ActiveRecord::Base | |
translates :name, :slug | |
# load our code explicitly to make sure it gets loaded in development mode | |
require 'tag_translation.rb' if Rails.env.development? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment