Navigation Menu

Skip to content

Commit

Permalink
saving
Browse files Browse the repository at this point in the history
  • Loading branch information
netjungle committed Jul 4, 2011
1 parent d64a903 commit eca02a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/globalize/active_record/instance_methods.rb
Expand Up @@ -66,7 +66,7 @@ def translated?(name)

def translated_attributes
translated_attribute_names.inject({}) do |attributes, name|
attributes.merge(name.to_s => translation.send(name))
attributes.merge(name.to_s => translation.send(name)) if Globalize.locale != I18n.default_locale
end
end

Expand Down

0 comments on commit eca02a5

Please sign in to comment.