Edgar

Edgar provides CRUD functions on controller and view for any model as follows:

Edgar is similar to scaffold, or active_scaffold. Please see 'How to use' below.

Edgar is implemented as Rails Engine.

Assumption

  1. Rails 3.2.8, Ruby 1.9.3

  2. Edgar assumes to store session in active_record_store (storing session in DB table).

Coding Convention

  1. Model should have 'name' attribute or method.

  2. Model's human-readable unique key is 'code'. (no key, login_id, etc.)

  3. Before_filter method name is 'require_***'

  4. Helper method name is 'draw_***'

  5. Unit/Functional test private method name for testing is 'check_***'

  6. migration name begin with 'edgar_'.

License

This project rocks and uses MIT-LICENSE.

TODO

  1. EdgarCrm, a mountable rails engine based on Edgar

  2. Authentication

    • password lifetime

    • password history

    • password complexity

  3. QBE

    • operator selection

    • date-picker