| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Made a method name clearer (added a bang to the end to show that it
mutates arguments) and extracted indentation into its own method.
|
|\
| |
| | |
ActiveRecord: Include usecs when quoting DateTime in PostgreSQL adapter
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* typecast:
correctly typecast keys, remove conditionals, reduce object allocations
no need to to_a the scope
remove extra flat_map array
avoid extra empty array allocation
extract owner id calculation to a method
only call to_a when we have to
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Refactoring Generators::Base.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
The defaults hash isn't used unless the +class_options+ hash has a
particular key, so we don't need to compute it unless this is true.
Also moving some code for extracting a module into its own method.
|
|\ \ \
| | | |
| | | | |
Add nodoc to ActiveModel::SecurePassword.min_cost
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|\| | |
| | | |
| | | | |
Mention the fast `test_sqlite3_mem` option in `RUNNING_UNIT_TESTS.rdoc` [ci skip]
|
|/ / /
| | |
| | |
| | | |
skip]
|
|\ \ \
| |/ /
|/| | |
change reference of `Test::Unit` to `Minitest` [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | | |
Previous was misleading; current is more up to date.
[ci skip]
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | |/
| |/| |
Comply with current umask when generating new app
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When creating a new application using the default rails generator
(`rails new my_app`), it will apply some permissions bypassing the
current process umask. The `bin' directory and any files inside it will
always be set a mode of 0755.
This change removes the current umask bits from the mode applied by
the generator on the `bin' directory and its content.
|
| | |
|
|\ \
| | |
| | | |
Only cache template digests if !config.cache_template_loading
|
| | |
| | |
| | |
| | |
| | |
| | | |
since ActionView::Resolver.caching is set to the same value as config.cache_template_loading
only cache template digests if config.cache_template_loading is not falsy
fixes issues #10752 and #10791
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
jetthoughts/11803_update_move_forbidden_exception_description_before_show
[Getting Started Guide] Move Forbidden attributes description before show post section [ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is not good to include links in the code. These links can be in the
future outdated and nobody will upgrade they.
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
check class hierarchy with is_a? in PredicateBuilder.expand
|
| |/ / /
| | | |
| | | |
| | | | |
add changelog entry for #11945
|
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Updating Rails README.md to reflect current state [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updating the global Rails README following work by @strzalek et al which extracted Action View to a separate gem, and also some other improvements.
Summary of changes:
* Reordered the paragraphs from View-Model-Controller to Model-Controller-View, based on how (IMHO) most people think about the structure and hierarchy of the framework and their code in it.
* Added references to ActionView's README in the _View_ paragraph
* Reworded the _Controller_ paragraph to briefly mentioned routing as handled by Action Dispatch, and that both Action Dispatch and Action Controller work together to form the request-handling Action Pack
* Removed paragraph saying Action Pack is coupled with Action View, as this is no longer the case
* Added brief references to Action Mailer and Active Support, since they are both major Rails components. Briefly mentioned in the _View_ paragraph that Action View is often used to generate the body of the email, in addition to the other typical of using to build a response body.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
adding more finder deprecation info in upgrade documentation [ci skip]
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
urbanautomaton/uppercase-nested-const-autoload-marking
`ActiveSupport::Dependencies`: consts in uppercase nestings not marked as autoloaded
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, an autoloaded constant `HTML::SomeClass` would not be marked
as autoloaded by AS::Dependencies. This is because the
`#loadable_constants_for_path` method uses `String#camelize` on the
inferred file path, which in turn means that, unless otherwise directed,
AS::Dependencies watches for loaded constants in the `Html` namespace.
By passing the original qualified constant name to `#load_or_require`,
this inference step is avoided, and the new constant is picked up in the
correct namespace.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Perf: memoize serialized column list and time zone column list
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Performance: Reduce memory allocations in Active Record
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
Add config to method calls in fixtures.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Allows you to change your configuration for calls to
`table_name_prefix`, `table_name_suffix`, and `pluralize_table_names`.
The default configuration is still ActiveRecord::Base, but you are now
able to change the configuration easily.
|
|\ \ \
| | | |
| | | | |
Remove whiny_nils config from the rails guides [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This option was removed from master.
[ci skip]
|
|\ \ \ \
| |/ / /
|/| | | |
Warning on doc for assets under lib|vendor not precompiling
|