├── .github └── workflows │ └── build.yml ├── .gitignore ├── .rubocop.yml ├── Gemfile ├── MIT-LICENSE ├── README.rdoc ├── Rakefile ├── VERSION ├── app ├── assets │ ├── images │ │ └── actions │ │ │ ├── add.png │ │ │ ├── delete.png │ │ │ ├── edit.png │ │ │ ├── list.png │ │ │ └── show.png │ └── stylesheets │ │ ├── crud.scss │ │ └── sample.scss ├── controllers │ ├── crud_controller.rb │ ├── dry_crud │ │ ├── generic_model.rb │ │ ├── nestable.rb │ │ ├── rememberable.rb │ │ ├── render_callbacks.rb │ │ ├── searchable.rb │ │ └── sortable.rb │ └── list_controller.rb ├── helpers │ ├── actions_helper.rb │ ├── dry_crud │ │ ├── form │ │ │ ├── builder.rb │ │ │ └── control.rb │ │ └── table │ │ │ ├── actions.rb │ │ │ ├── builder.rb │ │ │ ├── col.rb │ │ │ └── sorting.rb │ ├── form_helper.rb │ ├── format_helper.rb │ ├── i18n_helper.rb │ ├── table_helper.rb │ └── utility_helper.rb └── views │ ├── crud │ ├── _actions_edit.html.erb │ ├── _actions_edit.html.haml │ ├── _actions_index.html.erb │ ├── _actions_index.html.haml │ ├── _actions_show.html.erb │ ├── _actions_show.html.haml │ ├── _attrs.html.erb │ ├── _attrs.html.haml │ ├── _form.html.erb │ ├── _form.html.haml │ ├── _list.html.erb │ ├── _list.html.haml │ ├── edit.html.erb │ ├── edit.html.haml │ ├── new.html.erb │ ├── new.html.haml │ ├── show.html.erb │ ├── show.html.haml │ └── show.json.jbuilder │ ├── layouts │ ├── _flash.html.erb │ ├── _flash.html.haml │ ├── _nav.html.erb │ ├── _nav.html.haml │ ├── application.html.erb │ └── application.html.haml │ ├── list │ ├── _actions_index.html.erb │ ├── _actions_index.html.haml │ ├── _list.html.erb │ ├── _list.html.haml │ ├── _search.html.erb │ ├── _search.html.haml │ ├── index.html.erb │ ├── index.html.haml │ └── index.json.jbuilder │ └── shared │ ├── _error_messages.html.erb │ ├── _error_messages.html.haml │ ├── _labeled.html.erb │ └── _labeled.html.haml ├── config └── locales │ ├── crud.de.yml │ ├── crud.en.yml │ └── crud.it.yml ├── dry_crud.gemspec ├── lib ├── dry_crud.rb ├── dry_crud │ └── engine.rb └── generators │ └── dry_crud │ ├── USAGE │ ├── dry_crud_generator.rb │ ├── dry_crud_generator_base.rb │ ├── file_generator.rb │ └── templates │ ├── INSTALL │ ├── config │ └── initializers │ │ └── field_error_proc.rb │ ├── spec │ ├── controllers │ │ └── crud_test_models_controller_spec.rb │ ├── helpers │ │ ├── dry_crud │ │ │ ├── form │ │ │ │ └── builder_spec.rb │ │ │ └── table │ │ │ │ └── builder_spec.rb │ │ ├── form_helper_spec.rb │ │ ├── format_helper_spec.rb │ │ ├── i18n_helper_spec.rb │ │ ├── table_helper_spec.rb │ │ └── utility_helper_spec.rb │ └── support │ │ ├── crud_controller_examples.rb │ │ └── crud_controller_test_helper.rb │ └── test │ ├── controllers │ └── crud_test_models_controller_test.rb │ ├── helpers │ ├── custom_assertions_test.rb │ ├── dry_crud │ │ ├── form │ │ │ └── builder_test.rb │ │ └── table │ │ │ └── builder_test.rb │ ├── form_helper_test.rb │ ├── format_helper_test.rb │ ├── i18n_helper_test.rb │ ├── table_helper_test.rb │ └── utility_helper_test.rb │ └── support │ ├── crud_controller_test_helper.rb │ ├── crud_test_helper.rb │ ├── crud_test_model.rb │ ├── crud_test_models_controller.rb │ └── custom_assertions.rb ├── template.rb └── test └── templates ├── Gemfile.append ├── app ├── controllers │ ├── admin │ │ ├── cities_controller.rb │ │ └── countries_controller.rb │ ├── people_controller.rb │ ├── turbo_controller.rb │ └── vips_controller.rb ├── helpers │ ├── cities_helper.rb │ └── people_helper.rb ├── models │ ├── city.rb │ ├── country.rb │ └── person.rb └── views │ ├── admin │ ├── cities │ │ ├── _actions_index.html.erb │ │ ├── _actions_index.html.haml │ │ ├── _attrs.html.erb │ │ ├── _attrs.html.haml │ │ ├── _form.html.erb │ │ ├── _form.html.haml │ │ ├── _hello.html.erb │ │ ├── _hello.html.haml │ │ ├── _list.html.erb │ │ └── _list.html.haml │ └── countries │ │ ├── _form.html.erb │ │ ├── _form.html.haml │ │ ├── _list.html.erb │ │ └── _list.html.haml │ ├── layouts │ ├── _nav.html.erb │ └── _nav.html.haml │ ├── people │ ├── _attrs.html.erb │ ├── _attrs.html.haml │ ├── _list.html.erb │ └── _list.html.haml │ └── turbo │ ├── _actions_index.html.erb │ ├── _actions_index.html.haml │ ├── _actions_show.html.erb │ ├── _actions_show.html.haml │ ├── _hello.html.erb │ ├── _hello.html.haml │ ├── edit.turbo_stream.erb │ ├── edit.turbo_stream.haml │ ├── show.turbo_stream.erb │ ├── show.turbo_stream.haml │ ├── turbo.turbo_stream.erb │ ├── turbo.turbo_stream.haml │ ├── update.turbo_stream.erb │ └── update.turbo_stream.haml ├── config ├── database.yml ├── initializers │ └── deprecations.rb ├── locales │ ├── cities.en.yml │ └── de.yml └── routes.rb ├── db ├── migrate │ └── 20100511174904_create_people_and_cities.rb └── seeds.rb ├── spec ├── controllers │ ├── admin │ │ ├── cities_controller_spec.rb │ │ └── countries_controller_spec.rb │ └── people_controller_spec.rb └── routing │ ├── cities_routing_spec.rb │ └── countries_routing_spec.rb └── test ├── controllers ├── admin │ ├── cities_controller_test.rb │ └── countries_controller_test.rb └── people_controller_test.rb └── fixtures ├── cities.yml ├── countries.yml └── people.yml /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/Gemfile -------------------------------------------------------------------------------- /MIT-LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/MIT-LICENSE -------------------------------------------------------------------------------- /README.rdoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/README.rdoc -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/Rakefile -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 8.0.0 2 | -------------------------------------------------------------------------------- /app/assets/images/actions/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/images/actions/add.png -------------------------------------------------------------------------------- /app/assets/images/actions/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/images/actions/delete.png -------------------------------------------------------------------------------- /app/assets/images/actions/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/images/actions/edit.png -------------------------------------------------------------------------------- /app/assets/images/actions/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/images/actions/list.png -------------------------------------------------------------------------------- /app/assets/images/actions/show.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/images/actions/show.png -------------------------------------------------------------------------------- /app/assets/stylesheets/crud.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/stylesheets/crud.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/sample.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/assets/stylesheets/sample.scss -------------------------------------------------------------------------------- /app/controllers/crud_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/crud_controller.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/generic_model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/generic_model.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/nestable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/nestable.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/rememberable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/rememberable.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/render_callbacks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/render_callbacks.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/searchable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/searchable.rb -------------------------------------------------------------------------------- /app/controllers/dry_crud/sortable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/dry_crud/sortable.rb -------------------------------------------------------------------------------- /app/controllers/list_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/controllers/list_controller.rb -------------------------------------------------------------------------------- /app/helpers/actions_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/actions_helper.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/form/builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/form/builder.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/form/control.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/form/control.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/table/actions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/table/actions.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/table/builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/table/builder.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/table/col.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/table/col.rb -------------------------------------------------------------------------------- /app/helpers/dry_crud/table/sorting.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/dry_crud/table/sorting.rb -------------------------------------------------------------------------------- /app/helpers/form_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/form_helper.rb -------------------------------------------------------------------------------- /app/helpers/format_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/format_helper.rb -------------------------------------------------------------------------------- /app/helpers/i18n_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/i18n_helper.rb -------------------------------------------------------------------------------- /app/helpers/table_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/table_helper.rb -------------------------------------------------------------------------------- /app/helpers/utility_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/helpers/utility_helper.rb -------------------------------------------------------------------------------- /app/views/crud/_actions_edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_actions_edit.html.erb -------------------------------------------------------------------------------- /app/views/crud/_actions_edit.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_actions_edit.html.haml -------------------------------------------------------------------------------- /app/views/crud/_actions_index.html.erb: -------------------------------------------------------------------------------- 1 | <%= add_action_link %> -------------------------------------------------------------------------------- /app/views/crud/_actions_index.html.haml: -------------------------------------------------------------------------------- 1 | = add_action_link 2 | -------------------------------------------------------------------------------- /app/views/crud/_actions_show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_actions_show.html.erb -------------------------------------------------------------------------------- /app/views/crud/_actions_show.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_actions_show.html.haml -------------------------------------------------------------------------------- /app/views/crud/_attrs.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_attrs.html.erb -------------------------------------------------------------------------------- /app/views/crud/_attrs.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/_attrs.html.haml -------------------------------------------------------------------------------- /app/views/crud/_form.html.erb: -------------------------------------------------------------------------------- 1 | <%= crud_form %> -------------------------------------------------------------------------------- /app/views/crud/_form.html.haml: -------------------------------------------------------------------------------- 1 | = crud_form -------------------------------------------------------------------------------- /app/views/crud/_list.html.erb: -------------------------------------------------------------------------------- 1 | <%= crud_table %> -------------------------------------------------------------------------------- /app/views/crud/_list.html.haml: -------------------------------------------------------------------------------- 1 | = crud_table -------------------------------------------------------------------------------- /app/views/crud/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/edit.html.erb -------------------------------------------------------------------------------- /app/views/crud/edit.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/edit.html.haml -------------------------------------------------------------------------------- /app/views/crud/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/new.html.erb -------------------------------------------------------------------------------- /app/views/crud/new.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/new.html.haml -------------------------------------------------------------------------------- /app/views/crud/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/show.html.erb -------------------------------------------------------------------------------- /app/views/crud/show.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/crud/show.html.haml -------------------------------------------------------------------------------- /app/views/crud/show.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.extract! entry, :id, *default_crud_attrs 2 | -------------------------------------------------------------------------------- /app/views/layouts/_flash.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/_flash.html.erb -------------------------------------------------------------------------------- /app/views/layouts/_flash.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/_flash.html.haml -------------------------------------------------------------------------------- /app/views/layouts/_nav.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/_nav.html.erb -------------------------------------------------------------------------------- /app/views/layouts/_nav.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/_nav.html.haml -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/application.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/layouts/application.html.haml -------------------------------------------------------------------------------- /app/views/list/_actions_index.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/list/_actions_index.html.haml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/list/_list.html.erb: -------------------------------------------------------------------------------- 1 | <%= list_table %> -------------------------------------------------------------------------------- /app/views/list/_list.html.haml: -------------------------------------------------------------------------------- 1 | = list_table -------------------------------------------------------------------------------- /app/views/list/_search.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/list/_search.html.erb -------------------------------------------------------------------------------- /app/views/list/_search.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/list/_search.html.haml -------------------------------------------------------------------------------- /app/views/list/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/list/index.html.erb -------------------------------------------------------------------------------- /app/views/list/index.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/list/index.html.haml -------------------------------------------------------------------------------- /app/views/list/index.json.jbuilder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/list/index.json.jbuilder -------------------------------------------------------------------------------- /app/views/shared/_error_messages.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/shared/_error_messages.html.erb -------------------------------------------------------------------------------- /app/views/shared/_error_messages.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/shared/_error_messages.html.haml -------------------------------------------------------------------------------- /app/views/shared/_labeled.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/shared/_labeled.html.erb -------------------------------------------------------------------------------- /app/views/shared/_labeled.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/app/views/shared/_labeled.html.haml -------------------------------------------------------------------------------- /config/locales/crud.de.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/config/locales/crud.de.yml -------------------------------------------------------------------------------- /config/locales/crud.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/config/locales/crud.en.yml -------------------------------------------------------------------------------- /config/locales/crud.it.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/config/locales/crud.it.yml -------------------------------------------------------------------------------- /dry_crud.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/dry_crud.gemspec -------------------------------------------------------------------------------- /lib/dry_crud.rb: -------------------------------------------------------------------------------- 1 | require "dry_crud/engine" 2 | 3 | # Base namespace 4 | module DryCrud 5 | end 6 | -------------------------------------------------------------------------------- /lib/dry_crud/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/dry_crud/engine.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/USAGE: -------------------------------------------------------------------------------- 1 | rails g dry_crud -------------------------------------------------------------------------------- /lib/generators/dry_crud/dry_crud_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/dry_crud_generator.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/dry_crud_generator_base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/dry_crud_generator_base.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/file_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/file_generator.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/INSTALL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/INSTALL -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/config/initializers/field_error_proc.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/config/initializers/field_error_proc.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/controllers/crud_test_models_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/controllers/crud_test_models_controller_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/dry_crud/form/builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/dry_crud/form/builder_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/dry_crud/table/builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/dry_crud/table/builder_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/form_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/form_helper_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/format_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/format_helper_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/i18n_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/i18n_helper_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/table_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/table_helper_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/helpers/utility_helper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/helpers/utility_helper_spec.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/support/crud_controller_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/support/crud_controller_examples.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/spec/support/crud_controller_test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/spec/support/crud_controller_test_helper.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/controllers/crud_test_models_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/controllers/crud_test_models_controller_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/custom_assertions_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/custom_assertions_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/dry_crud/form/builder_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/dry_crud/form/builder_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/dry_crud/table/builder_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/dry_crud/table/builder_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/form_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/form_helper_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/format_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/format_helper_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/i18n_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/i18n_helper_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/table_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/table_helper_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/helpers/utility_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/helpers/utility_helper_test.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/support/crud_controller_test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/support/crud_controller_test_helper.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/support/crud_test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/support/crud_test_helper.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/support/crud_test_model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/support/crud_test_model.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/support/crud_test_models_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/support/crud_test_models_controller.rb -------------------------------------------------------------------------------- /lib/generators/dry_crud/templates/test/support/custom_assertions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/lib/generators/dry_crud/templates/test/support/custom_assertions.rb -------------------------------------------------------------------------------- /template.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/template.rb -------------------------------------------------------------------------------- /test/templates/Gemfile.append: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/Gemfile.append -------------------------------------------------------------------------------- /test/templates/app/controllers/admin/cities_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/controllers/admin/cities_controller.rb -------------------------------------------------------------------------------- /test/templates/app/controllers/admin/countries_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/controllers/admin/countries_controller.rb -------------------------------------------------------------------------------- /test/templates/app/controllers/people_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/controllers/people_controller.rb -------------------------------------------------------------------------------- /test/templates/app/controllers/turbo_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/controllers/turbo_controller.rb -------------------------------------------------------------------------------- /test/templates/app/controllers/vips_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/controllers/vips_controller.rb -------------------------------------------------------------------------------- /test/templates/app/helpers/cities_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/helpers/cities_helper.rb -------------------------------------------------------------------------------- /test/templates/app/helpers/people_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/helpers/people_helper.rb -------------------------------------------------------------------------------- /test/templates/app/models/city.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/models/city.rb -------------------------------------------------------------------------------- /test/templates/app/models/country.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/models/country.rb -------------------------------------------------------------------------------- /test/templates/app/models/person.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/models/person.rb -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_actions_index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_actions_index.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_actions_index.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_actions_index.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_attrs.html.erb: -------------------------------------------------------------------------------- 1 | <%= render_attrs @city, :people %> 2 | -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_attrs.html.haml: -------------------------------------------------------------------------------- 1 | = render_attrs entry, :people -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_form.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_form.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_form.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_hello.html.erb: -------------------------------------------------------------------------------- 1 | hello from cities -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_hello.html.haml: -------------------------------------------------------------------------------- 1 | hello from cities -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_list.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_list.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/admin/cities/_list.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/cities/_list.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/admin/countries/_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/countries/_form.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/admin/countries/_form.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/countries/_form.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/admin/countries/_list.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/countries/_list.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/admin/countries/_list.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/admin/countries/_list.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/layouts/_nav.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/layouts/_nav.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/layouts/_nav.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/layouts/_nav.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/people/_attrs.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/people/_attrs.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/people/_attrs.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/people/_attrs.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/people/_list.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/people/_list.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/people/_list.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/people/_list.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_actions_index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/_actions_index.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_actions_index.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/_actions_index.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_actions_show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/_actions_show.html.erb -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_actions_show.html.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/_actions_show.html.haml -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_hello.html.erb: -------------------------------------------------------------------------------- 1 | hello from turbo 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/_hello.html.haml: -------------------------------------------------------------------------------- 1 | hello from turbo 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/edit.turbo_stream.erb: -------------------------------------------------------------------------------- 1 | <%= turbo_stream.update(:content, partial: 'form') %> 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/edit.turbo_stream.haml: -------------------------------------------------------------------------------- 1 | = turbo_stream.update(:content, partial: 'form') 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/show.turbo_stream.erb: -------------------------------------------------------------------------------- 1 | <%= turbo_stream.update(:content, partial: 'attrs') %> 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/show.turbo_stream.haml: -------------------------------------------------------------------------------- 1 | = turbo_stream.update(:content, partial: 'attrs') 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/turbo.turbo_stream.erb: -------------------------------------------------------------------------------- 1 | <%= turbo_stream.update(:response, partial: 'hello') %> 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/turbo.turbo_stream.haml: -------------------------------------------------------------------------------- 1 | = turbo_stream.update(:response, partial: 'hello') 2 | -------------------------------------------------------------------------------- /test/templates/app/views/turbo/update.turbo_stream.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/update.turbo_stream.erb -------------------------------------------------------------------------------- /test/templates/app/views/turbo/update.turbo_stream.haml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/app/views/turbo/update.turbo_stream.haml -------------------------------------------------------------------------------- /test/templates/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/config/database.yml -------------------------------------------------------------------------------- /test/templates/config/initializers/deprecations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/config/initializers/deprecations.rb -------------------------------------------------------------------------------- /test/templates/config/locales/cities.en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/config/locales/cities.en.yml -------------------------------------------------------------------------------- /test/templates/config/locales/de.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/config/locales/de.yml -------------------------------------------------------------------------------- /test/templates/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/config/routes.rb -------------------------------------------------------------------------------- /test/templates/db/migrate/20100511174904_create_people_and_cities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/db/migrate/20100511174904_create_people_and_cities.rb -------------------------------------------------------------------------------- /test/templates/db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/db/seeds.rb -------------------------------------------------------------------------------- /test/templates/spec/controllers/admin/cities_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/spec/controllers/admin/cities_controller_spec.rb -------------------------------------------------------------------------------- /test/templates/spec/controllers/admin/countries_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/spec/controllers/admin/countries_controller_spec.rb -------------------------------------------------------------------------------- /test/templates/spec/controllers/people_controller_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/spec/controllers/people_controller_spec.rb -------------------------------------------------------------------------------- /test/templates/spec/routing/cities_routing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/spec/routing/cities_routing_spec.rb -------------------------------------------------------------------------------- /test/templates/spec/routing/countries_routing_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/spec/routing/countries_routing_spec.rb -------------------------------------------------------------------------------- /test/templates/test/controllers/admin/cities_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/controllers/admin/cities_controller_test.rb -------------------------------------------------------------------------------- /test/templates/test/controllers/admin/countries_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/controllers/admin/countries_controller_test.rb -------------------------------------------------------------------------------- /test/templates/test/controllers/people_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/controllers/people_controller_test.rb -------------------------------------------------------------------------------- /test/templates/test/fixtures/cities.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/fixtures/cities.yml -------------------------------------------------------------------------------- /test/templates/test/fixtures/countries.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/fixtures/countries.yml -------------------------------------------------------------------------------- /test/templates/test/fixtures/people.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codez/dry_crud/HEAD/test/templates/test/fixtures/people.yml --------------------------------------------------------------------------------