- 28 7月, 2015 13 次提交
-
-
由 Yves Senn 提交于
[ci skip] Add a link to action_controller_overview.html
-
由 yui-knk 提交于
-
由 Robin Dupret 提交于
[ci skip] Now Action View is completely separated from Action Pack
-
由 yui-knk 提交于
-
由 Robin Dupret 提交于
-
由 Rafael Mendonça França 提交于
Document, refactor and create test case for ActionDispatch::Response
-
由 Rafael Mendonça França 提交于
Fix misleading errors for has_one through relations
-
由 Rafael Mendonça França 提交于
Change wrong usage in documentation about autoload_paths [ci skip]
-
由 Rafael Mendonça França 提交于
Fix params_wrapper doc [ci skip]
-
由 Kasper Timm Hansen 提交于
Add wildcard template dependencies.
-
由 Arthur Nogueira Neves 提交于
[ci skip] it should be protect_from_forgery
-
由 Rafael Mendonça França 提交于
Allow generating plugins for API applications
-
由 Aditya Kapoor 提交于
-
- 27 7月, 2015 3 次提交
-
-
由 Godfrey Chan 提交于
Ryan Bigg has changed jobs
-
由 Ryan Bigg 提交于
-
由 Kasper Timm Hansen 提交于
-
- 26 7月, 2015 4 次提交
-
-
由 Kasper Timm Hansen 提交于
Remove @connection instance variable only when defined
-
由 Mehmet Emin İNAÇ 提交于
This feature also works with `PUT`, `PATCH` and `DELETE` requests. Also developers can add `:url_encoded_form` and `:multipart_form` into the `:format` for wrapping url encoded or multipart form data.
-
由 Yasuo Honda 提交于
-
由 Sean Griffin 提交于
This is an alternate implementation of #20966. [Sean Griffin & presskey]
-
- 25 7月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
Encode the email address as prescribed in RFC 6068 section 2.
-
- 24 7月, 2015 11 次提交
-
-
由 Sean Griffin 提交于
Deep down in the association internals, we're calling `destroy!` rather than `destroy` when handling things like `dependent` or autosave association callbacks. Unfortunately, due to the structure of the code (e.g. it uses callbacks for everything), it's nearly impossible to pass whether to call `destroy` or `destroy!` down to where we actually need it. As such, we have to do some legwork to handle this. Since the callbacks are what actually raise the exception, we need to rescue it in `ActiveRecord::Callbacks`, rather than `ActiveRecord::Persistence` where it matters. (As an aside, if this code wasn't so callback heavy, it would handling this would likely be as simple as changing `destroy` to call `destroy!` instead of the other way around). Since we don't want to lose the exception when `destroy!` is called (in particular, we don't want the value of the `record` field to change to the parent class), we have to do some additional legwork to hold onto it where we can use it. Again, all of this is ugly and there is definitely a better way to do this. However, barring a much more significant re-architecting for what I consider to be a reletively minor improvement, I'm willing to take this small hit to the flow of this code (begrudgingly).
-
由 Sean Griffin 提交于
Remove unused rule and task from activerecord
-
由 Matthew Draper 提交于
We need stricter locking before we can unload
-
由 Akira Matsuda 提交于
this fixes a failing test case
-
由 Clayton Smith 提交于
-
由 Robin Dupret 提交于
This way, running a generator inside the plugin's directory, files that are not relevant won't be generated (e.g. views or assets). This won't interfere with the application's generators configuration.
-
由 Robin Dupret 提交于
The note regarding the `_prefix` and `_suffix` options is no longer useful since they were renamed specifically for this purpose. Also the given example doesn't show what these options enable and in which case they are really useful (when there are conflicting values for instance). Refs #20999. [Godfrey Chan & Robin Dupret]
-
由 Robin Dupret 提交于
-
由 Robin Dupret 提交于
-
由 Robin Dupret 提交于
-
由 Robin Dupret 提交于
-
- 23 7月, 2015 7 次提交
-
-
由 Kasper Timm Hansen 提交于
Rename the enum_prefix and enum_suffix options to _prefix and _suffix
-
由 Robin Dupret 提交于
This makes it more clear that they are reserved keywords and also it seems less redundant as the line already starts with the call to the `enum` method.
-
由 Robin Dupret 提交于
Fixes documentation typo.[ci skip]
-
由 Дмитро Будник 提交于
Documentation had extra colon after keyword.
-
由 Matthew Draper 提交于
Don't apply locking around basic #load / #require
-
由 Matthew Draper 提交于
That's outside our remit, and dangerous... if a caller has their own locking to protect against the natural race danger, we'll deadlock against it.
-
由 thedarkone 提交于
* only test the upgrade path, * add test to verify non upgrades can’t preempt, * add reentrancy assertion.
-
- 22 7月, 2015 1 次提交
-
-
由 Aaron Patterson 提交于
Now that we have encoding strategies, we can just walk the params hash once to encode as HWIA, and remove nils.
-