├── .github └── workflows │ └── rspec.yml ├── .gitignore ├── .rspec ├── .travis.yml ├── Appraisals ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── MIT-LICENSE ├── README.md ├── Rakefile ├── gemfiles ├── activerecord_4.2.gemfile ├── activerecord_4.2.gemfile.lock ├── activerecord_5.0.gemfile ├── activerecord_5.0.gemfile.lock ├── activerecord_5.1.gemfile ├── activerecord_5.1.gemfile.lock ├── activerecord_5.2.gemfile ├── activerecord_5.2.gemfile.lock ├── activerecord_6.0.gemfile ├── activerecord_6.0.gemfile.lock ├── activerecord_edge.gemfile └── activerecord_edge.gemfile.lock ├── has_array_of.gemspec ├── lib ├── has_array_of.rb └── has_array_of │ ├── associated_array.rb │ ├── associated_array │ └── relation.rb │ ├── associated_belongs.rb │ ├── builders.rb │ ├── railtie.rb │ └── version.rb └── spec ├── has_array_of ├── associated_array │ └── relation_spec.rb ├── associated_array_spec.rb ├── associated_belongs_spec.rb └── builders_spec.rb ├── spec_helper.rb └── support ├── contexts.rb ├── db.rb ├── matchers.rb └── with_model.rb /.github/workflows/rspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/.github/workflows/rspec.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/.travis.yml -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/Appraisals -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/Guardfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/Rakefile -------------------------------------------------------------------------------- /gemfiles/activerecord_4.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_4.2.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_4.2.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_4.2.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/activerecord_5.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.0.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_5.0.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.0.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/activerecord_5.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.1.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_5.1.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.1.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/activerecord_5.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.2.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_5.2.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_5.2.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/activerecord_6.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_6.0.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_6.0.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_6.0.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/activerecord_edge.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_edge.gemfile -------------------------------------------------------------------------------- /gemfiles/activerecord_edge.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/gemfiles/activerecord_edge.gemfile.lock -------------------------------------------------------------------------------- /has_array_of.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/has_array_of.gemspec -------------------------------------------------------------------------------- /lib/has_array_of.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of.rb -------------------------------------------------------------------------------- /lib/has_array_of/associated_array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of/associated_array.rb -------------------------------------------------------------------------------- /lib/has_array_of/associated_array/relation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of/associated_array/relation.rb -------------------------------------------------------------------------------- /lib/has_array_of/associated_belongs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of/associated_belongs.rb -------------------------------------------------------------------------------- /lib/has_array_of/builders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of/builders.rb -------------------------------------------------------------------------------- /lib/has_array_of/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/lib/has_array_of/railtie.rb -------------------------------------------------------------------------------- /lib/has_array_of/version.rb: -------------------------------------------------------------------------------- 1 | module HasArrayOf 2 | VERSION = "0.0.1" 3 | end 4 | -------------------------------------------------------------------------------- /spec/has_array_of/associated_array/relation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/has_array_of/associated_array/relation_spec.rb -------------------------------------------------------------------------------- /spec/has_array_of/associated_array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/has_array_of/associated_array_spec.rb -------------------------------------------------------------------------------- /spec/has_array_of/associated_belongs_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/has_array_of/associated_belongs_spec.rb -------------------------------------------------------------------------------- /spec/has_array_of/builders_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/has_array_of/builders_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/contexts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/support/contexts.rb -------------------------------------------------------------------------------- /spec/support/db.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/support/db.rb -------------------------------------------------------------------------------- /spec/support/matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/support/matchers.rb -------------------------------------------------------------------------------- /spec/support/with_model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marshall-lee/has_array_of/HEAD/spec/support/with_model.rb --------------------------------------------------------------------------------