= Edgarj
Edgarj is an Ajax-based scaffold with:
- QBE(Query By Example) search form.
- column sort on record list.
- popup view & controller for 'belongs_to' relation table to pick up a
parent record.
- csv download.
- user-role based access control.
- Following levels of customization:
- select columns and its order on view for list, form, and search-form
- overwrite partial-template for each list, form, and search-form
== Version
Edgarj 4.* for Rails 4.*
Edgarj 0.* for Rails 3.2
== Prerequisites
- Rails
- external 'User' model.
== Dummy App
- How to run
$ cd test/dummy
$ rake db:drop && rake db:create && rake db:migrate
$ FIXTURES_PATH=../../test/fixtures rake db:fixtures:load
$ rails server
- How to test
$ cd [RAILS_ROOT]
$ rake test
== KNOWN BUGS
- "rake scaffold" (not "rake edgarj:scaffold") generates
WRONG functional test, which uses Edgarj's functional test template.
== Building Package
- make sure to increment lib/edgarj/version.rb
- check if all tests are passed:
$ bundle exec rake test
- commit any updated files.
- Gem package is built under pkg/edgarj-N.NN.NN.gem by:
$ bundle exec rake app:edgarj:build_gem
- commit Gemfile.lock when it is updated.
- puch the package to rubygems site by:
$ gem push pkg/edgarj-N.NN.NN.gem