To edit pages or tickets please login with username/password: aaf/aaf

Ticket #157 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

r203 Breaks options from other plugins

Reported by: aaf Assigned to: jk
Priority: major Milestone: 0.4.2
Component: 0plugin Version:
Keywords: options, find_options, with_scope, find_with_ferret Cc: andrew@mootpointer.com

Description

In r203, you changed from using a straight ActiveRecord::Base.find to using ActiveRecord::Base.with_scope, which is all very nice, because it makes everything cleaner. The problem is, it shuts out other plugins which add find options. Now, short of overloading the with_scope method to add extra keys, plugin writers have no way of integrating with acts_as_ferret.

This probably isn't the best state of affairs.

Change History

(follow-up: ↓ 2 ) 07/25/07 10:11:50 changed by jk

Can you give me an example of such a plugin?

(in reply to: ↑ 1 ) 07/26/07 05:12:21 changed by aaf

Replying to jk:

Can you give me an example of such a plugin?

The ones for me are paginating_find and Geokit.

08/25/07 12:49:08 changed by jk

  • status changed from new to assigned.

08/26/07 19:35:48 changed by jk

  • milestone set to 0.4.2.

08/29/07 06:55:00 changed by jk

Probably conflicts with #167

11/17/07 16:46:38 changed by jk

  • status changed from assigned to closed.
  • resolution set to fixed.

fixed by removing usage of with_scope

To edit pages or tickets please login with username/password: aaf/aaf