AR is deceiving and actual returns a proxy that passes .class to the loaded data.
Try this: @project.assets.where(:active => true).class It should be what you expect (e.g. they are chainable in the same fashion) -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To view this discussion on the web visit https://groups.google.com/d/msg/rails-oceania/-/bNP1GvMKkb4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
