Posts Tagged ‘plugins’

Posted on 9th June, 2009 | No Comment

A simple and lightweight ’search’ method for ActiveRecord::Base models that will search text/string-based columns for a specified critieria.

http://github.com/jabberwock/Searcher/tree/master

Usage:

MyModel.search('some text')

You may also add normal ActiveRecord.find options, e.g.:
MyModel.search('some text', :limit => 20)

You may specify which columns get searched in your ActiveRecord model
by specifying +seacher_column+ or +seacher_columns+, e.g.:
class Foo < ActiveRecord::Base
    searcher_column :col1, :col2
end

Posted on 1st June, 2009 | No Comment

SmartForm creates nicely laid out form fields for an ActiveRecord object, including it’s content columns and association reflections. The form fields are encapsulated in an HTML definition list.

http://github.com/jabberwock/smart_form/tree/master

Memoirs of an Irish Programmer