Project

edgarj

0.01
Low commit activity in last 3 years
No release in over a year
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, and user-role based access control.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.3.20

Runtime

~> 1.0.0
~> 4.4, >= 4.4.0
~> 5.0, >= 5.0.0
>= 0.15, < 2.0
~> 4.0
~> 3.7.2
 Project Readme

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:

    1. select columns and its order on view for list, form, and search-form

    2. 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¶ ↑

  1. make sure to increment lib/edgarj/version.rb

  2. check if all tests are passed:

    $ bundle exec rake test
  3. commit any updated files.

  4. Gem package is built under pkg/edgarj-N.NN.NN.gem by:

    $ bundle exec rake app:edgarj:build_gem
  5. commit Gemfile.lock when it is updated.

  6. puch the package to rubygems site by:

    $ gem push pkg/edgarj-N.NN.NN.gem