├── .github ├── FUNDING.yml ├── dependabot.yml └── workflows │ └── main.yml ├── .gitignore ├── .tool-versions ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── Rakefile ├── active_record-associated_object.gemspec ├── bin ├── console ├── setup └── test ├── lib ├── active_record │ ├── associated_object.rb │ └── associated_object │ │ ├── object_association.rb │ │ ├── railtie.rb │ │ └── version.rb └── generators │ └── associated │ ├── USAGE │ ├── associated_generator.rb │ └── templates │ ├── associated.rb.tt │ └── associated_test.rb.tt └── test ├── active_record ├── associated_object │ ├── integration_test.rb │ └── object_association_test.rb └── associated_object_test.rb ├── boot ├── active_record.rb └── associated_object.rb ├── lib └── generators │ └── associated_generator_test.rb └── test_helper.rb /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [kaspth] 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | ruby 3.4 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "bundler/gem_tasks" 4 | -------------------------------------------------------------------------------- /active_record-associated_object.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/active_record-associated_object.gemspec -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | bundle exec minitest "$@" 4 | -------------------------------------------------------------------------------- /lib/active_record/associated_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/active_record/associated_object.rb -------------------------------------------------------------------------------- /lib/active_record/associated_object/object_association.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/active_record/associated_object/object_association.rb -------------------------------------------------------------------------------- /lib/active_record/associated_object/railtie.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/active_record/associated_object/railtie.rb -------------------------------------------------------------------------------- /lib/active_record/associated_object/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/active_record/associated_object/version.rb -------------------------------------------------------------------------------- /lib/generators/associated/USAGE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/generators/associated/USAGE -------------------------------------------------------------------------------- /lib/generators/associated/associated_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/generators/associated/associated_generator.rb -------------------------------------------------------------------------------- /lib/generators/associated/templates/associated.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/generators/associated/templates/associated.rb.tt -------------------------------------------------------------------------------- /lib/generators/associated/templates/associated_test.rb.tt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/lib/generators/associated/templates/associated_test.rb.tt -------------------------------------------------------------------------------- /test/active_record/associated_object/integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/active_record/associated_object/integration_test.rb -------------------------------------------------------------------------------- /test/active_record/associated_object/object_association_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/active_record/associated_object/object_association_test.rb -------------------------------------------------------------------------------- /test/active_record/associated_object_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/active_record/associated_object_test.rb -------------------------------------------------------------------------------- /test/boot/active_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/boot/active_record.rb -------------------------------------------------------------------------------- /test/boot/associated_object.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/boot/associated_object.rb -------------------------------------------------------------------------------- /test/lib/generators/associated_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/lib/generators/associated_generator_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaspth/active_record-associated_object/HEAD/test/test_helper.rb --------------------------------------------------------------------------------