- 24 10月, 2014 2 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
- 23 10月, 2014 5 次提交
-
-
由 Yves Senn 提交于
Fix error string raised from AJ enqueue_at for ClassQueueAdapter
-
由 Yves Senn 提交于
Inline AJ around_perform and around_enqueue in CallbackJob used for tests
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
Bring try! into parity with try.
-
由 Ari Pollak 提交于
Based on commit 5e51bdda.
-
- 22 10月, 2014 4 次提交
-
-
由 Vipul A M 提交于
-
由 Rafael Mendonça França 提交于
💅 fix typos in activejob queuing test -
由 Joe Lewis 提交于
-
由 Rafael Mendonça França 提交于
fix small typo in routing test
-
- 21 10月, 2014 13 次提交
-
-
由 Accessd 提交于
-
由 Rafael Mendonça França 提交于
Fix url generation error message
-
由 Accessd 提交于
-
由 Godfrey Chan 提交于
-
由 Godfrey Chan 提交于
Provide more reasoning to not accept cosmetic changes [ci skip]
-
由 Tu Hoang 提交于
-
由 Vipul A M 提交于
-
由 Rafael Mendonça França 提交于
Activejob cleanups
-
由 Rafael Mendonça França 提交于
Remove duplicate 'select' database statement
-
由 Rafael Mendonça França 提交于
AJ doc fixes [ci skip]
-
由 Vipul A M 提交于
[ci skip]
-
由 Vipul A M 提交于
- Fix mentioned shortcut, to what the shortcut actually is, and that it accepts blocks for `assert_no_enqueued_jobs` and `assert_no_performed_jobs` test helpers. - args => arguments when used in actual docs. [ci skip]
-
由 claudiob 提交于
The `select` method has the same definition in almost all database adapters, so it can be moved from the database-specific adapters (PostgreSQl, MySQL, SQLite) to the abstract `database_statement`: ```ruby def select(sql, name = nil, binds = []) exec_query(sql, name, binds) end ``` --- More details about this commit: the only two DB-specific adapters that have a different definition of `select` are MySQLAdapter and MySQL2Adapter. In MySQLAdapter, `select` invokes `exec_query(sql, name, binds)`, so calling `super` achieves the same goal with less repetition. In MySQL2Adapter, `select` invokes `exec_query(sql, name)`, that is, it does not pass the `binds` parameter like other methods do. However, [MySQL2Adapter's `exec_query`](https://github.com/rails/rails/blob/74a527cc63ef56f3d0a42cf638299958dc7cb08c/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L228L231) works exactly the same whether this parameters is passed or not, so the output does not change: ```ruby def exec_query(sql, name = 'SQL', binds = []) result = execute(sql, name) ActiveRecord::Result.new(result.fields, result.to_a) end ```
-
- 20 10月, 2014 16 次提交
-
-
由 Vipul A M 提交于
- Remove un-needed require in AJ rescue test.
-
由 Vipul A M 提交于
-
由 Yves Senn 提交于
Mention `perform_now` in AJ base docs to specify how to immediately invoke a job [ci skip]
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Enable emitting of warnings from ActiveJob tests.
-
由 Yves Senn 提交于
Message on AR::UnknownAttributeError should include the class name of a record
-
由 Yuki Nishijima 提交于
This would be helpful if 2 models have an attribute that has a similar name to the other. e.g: before: User.new(name: "Yuki Nishijima", projects_attributes: [name: "kaminari"]) # => ActiveRecord::UnknownAttributeError: unknown attribute: name after: User.new(name: "Yuki Nishijima", projects_attributes: [name: "kaminari"]) # => ActiveRecord::UnknownAttributeError: unknown attribute on User: name
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
Merge branch 'activerecord-merge-docs' of https://github.com/justanshulsharma/rails into justanshulsharma-activerecord-merge-docs
-
由 Vipul A M 提交于
-
由 Anshul Sharma 提交于
-
由 Anshul Sharma 提交于
-
由 Rafael Mendonça França 提交于
remove duplicate method (_status_code) in action_dispatch
-
由 Abdelkader Boudih 提交于
-
由 Vipul A M 提交于
-
由 Vipul A M 提交于
-