Gem for rails generators with some pattern for business logic
Methodist - a gem for Ruby on Rails created to stop chaos in your buisness logic.
This gem adds generators to your rails application using some patterns:
Add this line to your application’s Gemfile:
gem 'methodist'
And then execute:
$ bundle
Or install it yourself:
$ gem install methodist
Just execute in a terminal
rails g <pattern_name> <generated_class>
where
About every Methodist pattern you can read here
To contribute just:
1) Create issue. Issue should contain information about goals of your
future changes.
2) Fork project.
3) Create branch. The name of the branch should begin with the ID of your issue.
Examle: ISSUE-205-create-new-pattern-generator
.
4) Make changes.
5) Write tests.
6) Make a commit. The name of the commit should begin with the ID of your issue.
Examle: [ISSUE-205] Create new pattern generator
.
7) Push.
8) Create a pull request to the develop
branch.
The gem is available as open source under the terms of the MIT License.