HasBootstrap
Add bootstrap functionality to your ActiveRecord models
Install
gem 'has_bootstrap'
Usage
class Color < ActiveRecord::Base
has_bootstrap(
{ id: 1, name: 'red' },
{ id: 2, name: 'blue' },
{ id: 3, name: 'green' }
)
end
Credits
The project has_bootstrap have been inspired by pluginaweek. Take a look at the git repositories.
Copyright (c) 2011 Thomas Boerger [email protected]