| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If embedding auth_token in remote forms is off and we
pass a value for auth_token it should respect it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed default value for `config.action_view.embed_authenticity_token_in_remote_forms`
to `false`. This change breaks remote forms that need to work also without javascript,
so if you need such behavior, you can either set it to `true` or explicitly pass
`:authenticity_token => true` in form options
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There is a regression introduced in 16ee611fa, which breaks
remote forms that should also work without javascript. This commit
introduces config option that allows to configure this behavior
defaulting to the old behavior (ie. include authenticity token
in remote forms by default)
Conflicts:
actionpack/CHANGELOG.md
|
|\ \ \ \
| | | | |
| | | | | |
Fix label_tag to merge the options hash with the object hash
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
hash.
Closes #2492 and #5615
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
doesn't call for label.
objectify_options method should be applied to the proper options arg.
See explanation and example of the bug - https://github.com/kryzhovnik/rails_field_error_proc_bug_example
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
See issue #393, issue #4000, issue #5190, and issue #5191. Adds a newline after the textarea opening tag based on @codykrieger's original patch so that we don't cause regressions in Haml-using apps. The regression caused textarea tags to add newlines to the field unintentionally (each update/save added an extra newline.)
Also fix 6 more tests that didn't yet have the newline expectation.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Properly deprecate the block argument in AV FormBuilder
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Commit 56089ca986c767763f29159c8de0aa1ebabfd4d2 introduced a backward
incompatible change by changing the method signature of the FormBuilder.
This brings back the same method signature warning in case someone gives
a block to the builder.
More info: https://github.com/rails/rails/commit/56089ca986c767763f29159c8de0aa1ebabfd4d2#commitcomment-1116166
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
use content_tag in button_to helper
|
| | | | | |
|
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
discarding both day and month.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
forms if you pass true
|
|/ / /
| | |
| | |
| | | |
forms use the meta-tag value
|
|\ \ \
| | | |
| | | | |
Remove Active Resource source files from the repository.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Dear Active Resource,
It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.
I will miss you,
@sikachu.
|
|/ / / |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Minor tweak to previous comments on form_for and form_helper.rb preamble
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
(endpoints are generated by form_for without reference to the form builder)
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
ensure u2029 is escaped in escape_javascript helper
|
| |/ / / |
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
cols and rows options from textarea.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Optimize routes generation in simple cases.
If you pass to the route helper the same amount of arguments
as the required segments, route generation will be optimized
as a string interpolation. After this commit, `post_path(post)`
is about 6.5 times faster, `post_url(post)` is about 5 times.
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* master-security:
Ensure [] respects the status of the buffer.
delete vulnerable AS::SafeBuffer#[]
use AS::SafeBuffer#clone_empty for flushing the output_buffer
add AS::SafeBuffer#clone_empty
fix output safety issue with select options
Conflicts:
actionpack/lib/action_view/helpers/tags/base.rb
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes #393
|
| | | |
| | | |
| | | |
| | | | |
variables in the form builder
|
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
FormOptionsHelper refactor
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BTW, select works quite faster then find_all:
require 'benchmark'
n = [1]*100_000_000
Benchmark.bm do |x|
x.report { n.select { |a| a > 1 } }
x.report { n.find_all { |a| a > 1 } }
end
user system total real
7.590000 0.010000 7.600000 ( 7.927171)
9.650000 0.010000 9.660000 ( 9.634406)
|
| | |
| | |
| | |
| | |
| | |
| | | |
There was a mix, sometimes patch first, sometimes put first.
Use always patch first, since this is going to be the
primary verb for updates.
|
| | |
| | |
| | |
| | | |
the update action of resources
|
| | | |
|