Rename language_code to code - language_code is tautological when it's

in the language table anyway.
This commit is contained in:
Tom Hughes 2009-05-23 00:00:25 +00:00
parent 68eeaabb9d
commit 0e71278320
3 changed files with 12 additions and 13 deletions

View file

@ -14,7 +14,7 @@
</tr>
<tr valign="top">
<td class="fieldName">Language:</td>
<td><%= f.select :language, Language.find(:all).map {|l| [l.name, l.language_code]} %></td>
<td><%= f.select :language, Language.find(:all).map {|l| [l.name, l.code]} %></td>
</tr>
<tr valign="top">
<td class="fieldName">Location:</td>