Netzke Basepack Sequel adapter
Allows using Basepack data componets (grids and panels) with Sequel.
Implements Netzke::Basepack::DataAdapters::AbstractAdapter from Basepack.
Warning: WIP. Please, contribute!
Add this line to your application's Gemfile after 'netzke-basepack':
gem 'netzke-basepack-sequel', git: "git://github.com/nomadcoder/netzke-basepack-sequel"
And then execute:
After installation, you should be able to simply configure Basepack components with Sequel models, e.g.:
MyGrid < Netzke::Basepack::GridPanel def configure(c) c.model = "MySequelModel" end end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Initially was implemented as part of Basepack by @pschyska