Table of Contents - rails-patterns-0.9.0 Documentation
Pages
- LICENSE
-
README
- Pattern
- Installation
- Query
- When to use it
- Assumptions and rules
- Other
- Examples
- Declaration
- Usage
- Service
- When to use it
- Assumptions and rules
- Other
- Examples
- Declaration
- Usage
- Collection
- When to use it
- Assumptions and rules
- Examples
- Declaration
- Usage
- Form
- When to use it
- Assumptions and rules
- Examples
- Declaration
- Usage
- Calculation
- When to use it
- Assumptions and rules
- Examples
- Declaration
- Usage
- Rule and Ruleset
- When to use it
- Assumptions and rules
- Forcing rules
- Regular and strong rulesets
#not_applicable?
vs#applicable?
- Examples
- Declaration
- Usage
- Further reading
- About Selleo
Classes and Modules
- Patterns
- Patterns::Calculation
- Patterns::Collection
- Patterns::Form
- Patterns::Query
- Patterns::Service
- Rule
- Ruleset
- Ruleset::EmptyRuleset
- StrongRuleset
Methods
- ::add_rule — Ruleset
- ::calculate — Patterns::Calculation
- ::call — Patterns::Query
- ::call — Patterns::Service
- ::for — Patterns::Collection
- ::from — Patterns::Collection
- ::hash_of — Patterns::Calculation
- ::new — Patterns::Calculation
- ::new — Patterns::Collection
- ::new — Patterns::Form
- ::new — Patterns::Query
- ::new — Rule
- ::new — Ruleset
- ::param_key — Patterns::Form
- ::queries — Patterns::Query
- ::result — Patterns::Calculation
- ::result_for — Patterns::Calculation
- ::rules — Ruleset
- ::set_cache_expiry_every — Patterns::Calculation
- #applicable? — Rule
- #applicable? — Ruleset
- #as — Patterns::Form
- #base_relation — Patterns::Query
- #build_original_attributes — Patterns::Form
- #cache_expiry_period — Patterns::Calculation
- #cache_key — Patterns::Calculation
- #cached_result — Patterns::Calculation
- #call — Patterns::Query
- #call — Patterns::Service
- #collection — Patterns::Collection
- #each — Patterns::Collection
- #each — Ruleset
- #forceable? — Rule
- #forceable? — Ruleset
- #forceable? — StrongRuleset
- #hash_of — Patterns::Calculation
- #model_name — Patterns::Form
- #model_name_attributes — Patterns::Form
- #not_applicable? — Rule
- #not_applicable? — Ruleset
- #not_applicable? — StrongRuleset
- #not_satisfied? — Ruleset
- #persist — Patterns::Form
- #persisted? — Patterns::Form
- #query — Patterns::Query
- #result — Patterns::Calculation
- #satisfied? — Rule
- #satisfied? — Ruleset
- #satisfied? — StrongRuleset
- #save — Patterns::Form
- #save! — Patterns::Form
- #to_key — Patterns::Form
- #to_model — Patterns::Form
- #to_param — Patterns::Form
- #to_partial_path — Patterns::Form