- 29 1月, 2016 2 次提交
-
-
由 eileencodes 提交于
Test that we are not allowing you to grab a file with an absolute path outside of your application directory. This is dangerous because it could be used to retrieve files from the server like `/etc/passwd`.
-
由 Rafael França 提交于
Always use SQL limit in Relation#last when limit argument given
-
- 28 1月, 2016 26 次提交
-
-
由 Bogdan Gusiev 提交于
instead of loading relation
-
由 Eileen M. Uchitelle 提交于
Fix a bug with initialize schema_migrations table
-
由 Mikhail Grachev 提交于
This line causes an error when executing the command: `rails db:drop db:create db:schema:load` ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "{" LINE 1: ...NSERT INTO "schema_migrations" (version) VALUES (#{v}), (#{v...
-
由 David Heinemeier Hansson 提交于
Introduce new welcome page for new projects
-
由 Rafael França 提交于
Consistently warn that passing an offset to `find_nth` is deprecated
-
由 Akira Matsuda 提交于
[ci-skip]
-
由 Ben Woosley 提交于
@bogdan pointed out that a `loaded?` relation would not warn that the supplied offset would be removed. This fixes that oversight. https://github.com/rails/rails/commit/16a476e4f8f802774ae7c8dca2e59f4e672dc591#commitcomment-15706834 Although this second argument is probably not widely used, and would be ignored anyway in the loaded? case, this could protect callers from gotchas. [Ben Woosley & Victor Kmita]
-
由 प्रथमेश Sonpatki 提交于
English explanation to multi-level nested join
-
由 Sean Griffin 提交于
Raise AR::IrreversibleOrderError when #reverse_order can not do it's job
-
由 Collin Graves 提交于
Added an "Or, in English..." explanation to the "Joining Nested Associations (Multiple Level)" example.
-
由 Jon Moss 提交于
Update sucker_punch adapter's description
-
由 Aaron Patterson 提交于
Remove nonsense definition of == from `AcceptItem`. The definition only compared names and not `q` values or even object identity. The only use was in the `assort!` method that really just wanted the index of the item given the item's name. Instead we just change the caller to use `index` with the block form.
-
由 Aaron Patterson 提交于
This commit refactors the private methods that were just aliases to [] to just directly use [] and cache the return values on the stack.
-
由 Aaron Patterson 提交于
same strategy as `@text_xml_idx`: cache it on the stack to avoid ivar lookups and the `||=` call.
-
由 Aaron Patterson 提交于
this eliminates the ivar lookup and also eliminates the `||=` conditional that happens every time we called the `text_xml_idx` method.
-
由 Jon Moss 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
-
由 Eileen M. Uchitelle 提交于
Update ActiveJob adapter for sucker_punch 2.0
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Fix img alt attribute generation when using Sprockets >= 3.0
-
由 Arthur Nogueira Neves 提交于
Fix typo in strong params hash deprecation message
-
由 Marek 提交于
and remove unecessary spaces in string interpolation.
-
由 Bart de Water 提交于
-
由 Sean Griffin 提交于
The commit which originally added this behavior did not consider that doing `Subclass.new` does not actually populate the `type` field in the attributes (though perhaps it should). We simply need to not use the defaults for STI related things unless we are instantiating the base class. Fixes #23285.
-
由 Jon Moss 提交于
This PR includes two changes for 2.0.0: - Breaking API change around `async.perform` --> `perform_async` - New addition of `perform_in`, which now allows end users of the adapter to use the `enqueued_at` public API method.
-
由 Kasper Timm Hansen 提交于
Fix small typos in asset_pipeline.md
-
- 27 1月, 2016 12 次提交
-
-
由 Djoume Salvetti 提交于
-
由 Arthur Nogueira Neves 提交于
Improvement in ActiveRecord::Persistence doc [ci skip]
-
由 Vipul A M 提交于
Fix doc
-
由 Daniel Gomez de Souza 提交于
-
由 David Heinemeier Hansson 提交于
Revert "Eliminate the EventMachine dependency"
-
由 David Heinemeier Hansson 提交于
-
由 प्रथमेश Sonpatki 提交于
remove duplication section [ci skip]
-
由 Aditya Kapoor 提交于
-
由 Bogdan Gusiev 提交于
Raises when #reverse_order can not process SQL order instead of making invalid SQL before this patch
-
由 Akira Matsuda 提交于
[ci skip]
-
We found that inserting all 600 schema_migrations for our mid-sized app takes about a minute on a cloud based CI environment. I assume that the original code did not use multi-row-insert because SQLite3 was not supporting the syntax back then, but it's been supported since 3.7.11: http://www.sqlite.org/releaselog/3_7_11.html
-
由 Aaron Patterson 提交于
-