Named_scope clashing with ActiveSupport

One of the named_scope defined by Station was parents. It simply scoped searches in Resources to records that haven’t a parent_id defined. This is useful for Posts or AttachmentFu records (which makes thumbnails with the parent_id).

The name “parents” was unfortunate, as it clashes with a method in ActiveSupport::CoreExtensions::Module

So the named_scope has been renamed to “parent_scoped“. You are encourage to upgrade to the new stable version, Station 0.2.3


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s