Looks like the build failed as `column_name` is only available in Rails 4. My vote is to change the predicate check to verify the method too:

```ruby
<%- if attribute.reference? && attribute.respond_to?(:column_name) -%>
```