Switch branches/tags
Nothing to show
Commits on Sep 1, 2010
  1. Revised Readme.

    committed with Aug 30, 2010
Commits on Aug 27, 2010
  1. This is how the said problem got solved:

    * Created a before_filter which checks if there is filtering being done, which then sorts the hash and returns records.
    * smart_filter helper is now a block helper, which means if the filtering is set up, it skips the content inside the block and shows the results.
    Happy. :)
    committed Aug 27, 2010
  2. Following accomplishments:

    * Added helpers for generating filtering forms, it needs jQuery for being dynamic - but works for now.
    * Refactored the querying mechanism but still needs some more work. Currently it is inline, which won't work in the long term.
    committed Aug 27, 2010
Commits on Aug 25, 2010
Commits on Aug 24, 2010
  1. This is the first step to a modularized Smart Filter. Here are the ad…

    * The smart_filter calls can be stacked now. For example:
        AddressBook.smart_filter({:name => {"contains" => "Bob"},
                                  :name => {"contains" => "Martin"}})
        find(:all, :conditions => ['name LIKE ? AND name LIKE ?', "%Bob%", "%Martin%"])
    * The current design merges all the conditions and terms separately, leading to complexity for conditions that require multiple binding variables (BETWEEN etc.). This is also now dealt with by using a Hash for such cases.
    committed Aug 24, 2010
Commits on Aug 21, 2010
  1. Basic changes to view.

    committed Aug 21, 2010
Commits on Aug 20, 2010
  1. Bundle info added to readme.

    committed Aug 20, 2010
  2. Abstraction leads to adding smart filters for more columns very easil…

    …y, but it is currently limited to string column type.
    committed Aug 20, 2010
Commits on Aug 18, 2010
  1. Deleted log files.

    committed Aug 18, 2010