rails/railties
Rafael Mendonça França 70843ff7b2
Load the model schema when running test in eager load context
Some protections like the one that checks if an enum is pointing to
a valid column in the table only works when the database schema is
loaded to the model.

Before this change, if schema cache wasn't present and the right
combinations of configurations were not set, developers would only see
this exception in production.

With this change, those errors would be caught on CI, as soon the
tests are loaded.
2023-10-03 13:20:40 +00:00
..
bin
exe
lib Load the model schema when running test in eager load context 2023-10-03 13:20:40 +00:00
test Load the model schema when running test in eager load context 2023-10-03 13:20:40 +00:00
.gitignore
CHANGELOG.md Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
MIT-LICENSE Remove Copyright years (#47467) 2023-02-23 11:38:16 +01:00
railties.gemspec Fix chmod race condition when generating key 2023-05-11 16:29:26 -04:00
Rakefile Require shellwords where it is used 2022-01-06 00:19:11 +00:00
RDOC_MAIN.md Fix list item numbering on API docs main page [ci-skip] 2023-08-17 16:22:16 -05:00
README.rdoc 🔗 Remove RDoc auto-link from Rails module everywhere 2023-06-23 10:49:30 +09:00

= Railties -- Gluing the Engine to the \Rails

Railties is responsible for gluing all frameworks together. Overall, it:

* handles the bootstrapping process for a \Rails application;

* manages the +rails+ command line interface;

* and provides the \Rails generators core.

== Download

The latest version of Railties can be installed with RubyGems:

* gem install railties

Source code can be downloaded as part of the \Rails project on GitHub

* https://github.com/rails/rails/tree/main/railties

== License

Railties is released under the MIT license:

* https://opensource.org/licenses/MIT

== Support

API documentation is at

* https://api.rubyonrails.org

Bug reports can be filed for the Ruby on \Rails project here:

* https://github.com/rails/rails/issues

Feature requests should be discussed on the rails-core mailing list here:

* https://discuss.rubyonrails.org/c/rubyonrails-core