plataformatec/simple_form — pull request #596 by retoo (2012-06-21 13:40:04+00:00)
Title: readonly attributes comparison

ActiveRecord.readonly_attributes returns a set of strings, not a set of
symbols. Verified with Rails 2.3 and 3.2.

```ruby
class Foobar < ActiveRecord::Base
attr_accessible :a
attr_readonly :b
end

Foobar.readonly_attributes
=> #

irb(main):003:0> Foobar.readonly_attributes.include?(:b)
=> false
irb(main):004:0> Foobar.readonly_attributes.include?("b")
=> true
```