- 15 12月, 2015 13 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 Sean Griffin 提交于
We currently generate an unbounded number of prepared statements when `limit` or `offset` are called with a dynamic argument. This changes `LIMIT` and `OFFSET` to use bind params, eliminating the problem. `Type::Value#hash` needed to be implemented, as it turns out we busted the query cache if the type object used wasn't exactly the same object. This drops support for passing an `Arel::Nodes::SqlLiteral` to `limit`. Doing this relied on AR internals, and was never officially supported usage. Fixes #22250.
-
由 Sean Griffin 提交于
Some backends allow `LIMIT 1,2` as a shorthand for `LIMIT 1 OFFSET 2`. Supporting this in Active Record massively complicates using bind parameters for limit and offset, and it's trivially easy to build an invalid SQL query by also calling `offset` on the same `Relation`. This is a niche syntax that is only supported by a few adapters, and can be trivially worked around by calling offset explicitly.
-
由 Tim 提交于
Add boldface and bullets to make more readable. Make sentences declarative. Remove "you"s.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
We don't have isolation tests for it yet.
-
由 Rafael Mendonça França 提交于
The application can have more than one ApplicationController and we want Action Cable helpers in all controllers and their views so we should hook in the same place that others helpers.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 claudiob 提交于
[ci skip] Getting to ready to merge into rails/rails
-
- 14 12月, 2015 16 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Sean Griffin 提交于
Add test cases for `#sanitize_sql_array` with named_bind_variables
-
由 eileencodes 提交于
This reverts commit 9712a7a1, reversing changes made to 3e65c3d3. Reverting because this caused test failures and while we have a followup branch there is still one failure that happens randomly and isn't straight forward to fix.
-
由 Santiago Pastorino 提交于
travel back
-
由 Eileen M. Uchitelle 提交于
Controller generators should be creating IntegrationTest stubs instea…
-
由 Kasper Timm Hansen 提交于
-
由 Dharam Gollapudi 提交于
Allows any Rake task to be run through `bin/rails` such as `bin/rails db:migrate`, `bin/rails notes` etc. The Rake tasks are appended to Rails' help output, and blend in as standard commands.
-
由 Kasper Timm Hansen 提交于
Prevent a 500 in the default controller scaffold
-
由 Kasper Timm Hansen 提交于
Update web-console to 3.0.0
-
由 Kasper Timm Hansen 提交于
The API isn't ready yet, which means we haven't documented it. People can't make their own commands, so there's no reason to show it in generated documentation.
-
由 Genadi Samokovarov 提交于
If you update a record with no attributes, you'll hit a 500 from a guard in `assign_attributes` raising: ```ruby ArgumentError: When assigning attributes, you must pass a hash as an argument. app/controllers/users_controller.rb:44:in `block in update' app/controllers/users_controller.rb:43:in `update' test/controllers/users_controller_test.rb:37:in `block in <class:UsersControllerTest>' ``` Not a biggie, but may be quite confusing for the folks new to the framework.
-
由 Arthur Nogueira Neves 提交于
Fix paintIt method in JavaScript guides [ci skip]
-
由 Xavier Noria 提交于
See the rationale in the comment present in this patch.
-
由 Xavier Noria 提交于
Before this commit, the sole presence of the Listen constant enabled the evented file watcher (unless listen resorted to the polling backend). This way, applications may depend on listen for other stuff independently of this feature. Also, allows teams with mixed setups to decide at boot time whether the evented watcher should be enabled for each particular instance.
-
由 Genadi Samokovarov 提交于
Web Console 3.0.0 is compatible with Rails 5, while the 2.x.x releases aren't.
-
- 13 12月, 2015 11 次提交
-
-
由 Kasper Timm Hansen 提交于
Tiny typo in the testing guide; articules should be articles.
-
由 David Heinemeier Hansson 提交于
Freshen up the client-side subscription examples. Fixes #118
-
由 David Heinemeier Hansson 提交于
add devise example to readme
-
由 David Heinemeier Hansson 提交于
Easy websocket url configuration
-
由 David Heinemeier Hansson 提交于
Allow regexp for a allowed_request_origins array
-
由 adamliesko 提交于
-
由 Prathamesh Sonpatki 提交于
- Changed "paintIt" to "@paintIt" so that it can be called in an on click handler. - Closes #22568
-
由 Aaron Patterson 提交于
Use adapter supports_datetime_with_precision
-
由 Fumiaki MATSUSHIMA 提交于
-
由 Abdelkader Boudih 提交于
-
由 adamliesko 提交于
-