Skip to content

Commit

Permalink
Fix #745
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenezech committed Sep 28, 2011
1 parent dc8cbf0 commit a311e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails_admin/config/fields/types/has_one_association.rb
Expand Up @@ -22,7 +22,7 @@ def selected_id
end

def method_name
super.to_s.singularize + '_id'
"#{name}_id"
end
end
end
Expand Down

0 comments on commit a311e3b

Please sign in to comment.