Class: ActiveRecord::Associations::AssociationProxy
- Defined in:
- lib/comma/association_proxy.rb
Instance Method Summary collapse
Instance Method Details
#to_comma(style = :default) ⇒ Object
2 3 4 5 |
# File 'lib/comma/association_proxy.rb', line 2 def to_comma(style = :default) #Bug in Rails 2.3.5, this is a workaround as association_proxy.rb doesn't pass the &block in the send method so it silently fails Comma::Generator.new(Array(self), style).run(:each) end |