Replaces <select> tags with a full-HTML, RESTful JavaScript record browser (Rails plugin)
Ruby HTML CSS
Pull request Compare This branch is 236 commits ahead, 10 commits behind cainlevy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config/locales
lib
test
vendor/assets/javascripts
.document
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README
Rakefile
recordselect.gemspec

README

RecordSelect
============

(c) 2007 - 2016 Sergio Cambra, Lance Ivy

RecordSelect is a Rails widget to help you pick one record out of many. I designed it as a more usable and performant alternative to generating a massive dropdown list. It relies on AJAX for the cooler uses (all the provided view helpers rely on JavaScript?) but can also function in a pure-http fashion (although multi-select support is provided in a pure-JavaScript implementation).

Please see the ActionView::Helpers::RecordSelectHelpers for the most common API. More documentation (and HOWTOs) can be found online at http://code.google.com/p/recordselect, and a demo application is available at http://recordselect.googlecode.com/svn/demo.

= DEPENDENCIES
This depends on the excellent Paginator gem by Bruce Williams. This simple gem is available at paginator.rubyforge.org.

It should autoselect js framework, but you can select :jquery or :prototype framework with config/initializer file:
RecordSelect::Config.js_framework = :jquery
RecordSelect::Config.js_framework = :prototype