| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
ActionDispatch: add missing test for callbacks
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Revert "No need to pass options which is never used"
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Options is needed for some Rails extensions to determine when
referential integrity should be disabled
This reverts commit bcb466c543451dce69403aaae047295758589d8e.
Fixes #5052
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix sanitize_for_mass_assigment when role is nil
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There is an example in Rails documentation that suggests implementing
assign_attributes method for ActiveModel interface, that by default
sends option role with nil. Since mass_assignment_authorizer never
is called without args, we can move the default value internally.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix AM format_paragraph helper method if a first word is long
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Cosmetic fixes in block_format AM helper method + test
|
|/ / / / / |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes undef `to_str' for Rack::Chunked::Body when using
caches_action + streaming on an action
Closes #5027
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In Ubuntu Chrome, in the last lines of code blocks, the underscore isn't
visible. Increasing the line height slightly seems to fix this. This
problem doesn't exist in Firefox even on Ubuntu. Too lazy to test in
any other OS-browser combo :)
|
|\ \ \ \ \
| | | | | |
| | | | | | |
"Or" was not meaningful anymore, per dad7fdc5734a3813246f238ac5760b2076932216
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Rename field_changed? to _field_changed? so that users can create a field named field
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
named field
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Always reenable _dump task in AR databases rake. Closes #5030
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This allows the internal :_dump task to be called as many times as
required. For instance, `rake db:migrate:redo` calls two tasks that
internally call :_dump, and without reenabling it to be reinvoked,
the database was left in incorrect state.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
sync __run_callbacks with ruby-trunk
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/34580
In this revision behavior of respond_to? had changed: now to ask about
protected method one should pass second argument `true`
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove not used button translation from av locale
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Allow collection helpers with block to access current object in the collection
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This gives a lot more flexibility to the user, for instance to generate
a collection of check boxes and labels, allowing to add custom classes
or data-* attributes to the label/check_box using another object
attribute.
This basically mimics options_for_select functionality that accepts a
third option for each item to generate html attributes for each option.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
remove unnecessary require core_ext/string/encoding
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Exclude rack.request.form_vars from request.filtered_env
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
carlosantoniodasilva/sprockets-compressors-refactor
Sprockets compressors refactor
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
remove unused require for string encoding
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix usage of psql in db:test:prepare
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
and specifying a template in database.yml
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Fix associations with per-class/multiple database connections
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
would get ConnectionNotEstablished error because it always tried to use
ActiveRecord::Base's connection, even though it should be using the connection
of the model whose context we're operating in
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Alias reconnect! to reset! for Mysql2 adapter since they have same behavior.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
behavior.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Adding documentation to clarify usage of attributes hash.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Serialization uses only the attributes hash's keys and calls
methods that are of the same name as the keys on the serialized
object.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
carlosantoniodasilva/amo-serializable-hash-string-keys
Fix ActiveModel serializable hash to return string keys with :methods
|
| | | | | | | | | | |
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Add HTML5 input[type="date"] helper
|