rspec/rspec-rails — pull request #937 by potomak (2014-02-20 23:51:32+00:00)
Title: Fix scaffold view generator templates for reference attributes

Rails generates field with an `_id` suffix for reference attributes, see
https://github.com/rails/rails/blob/master/railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb#L24-L30

This commit should fix this case by using `attribute.column_name` instead of
`attribute.name` as used by the Rails generator template.