- 14 8月, 2014 34 次提交
-
-
由 Zachary Scott 提交于
-
由 Zachary Scott 提交于
[ci skip] updated 'where' in association documention to new style syntax
-
由 Akira Matsuda 提交于
Looks like #first wasn't warm enough...
-
由 Santiago Pastorino 提交于
[Regression 4.0 -> 4.1] Fixed AR::Relation#where edge case with Hash and other Relation
-
由 Jeremy Kemper 提交于
Add I18n support for `:placeholder` HTML option is passed to form fields
-
由 Bogdan Gusiev 提交于
Example: Author.where(posts: { author_id: Author.where(country_id: 1) }).joins(:posts)
-
由 Akira Matsuda 提交于
-
由 Yves Senn 提交于
Write timestamps only if there are timestamps columns Conflicts: activerecord/CHANGELOG.md
-
由 Tom Kadwill 提交于
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
The error was moved outside of the `ClassMethods` module.
-
由 Akira Matsuda 提交于
Or some tests fail when run in random order
-
由 Yves Senn 提交于
Fixes to ActionController::TemplateAssertions
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
this will help us to encapsulate magical symbols so hopefully we can eliminate hardcoded magic symbols
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
now we don't have to have a hard coded key
-
由 Akira Matsuda 提交于
-
由 Aaron Patterson 提交于
avoid hash lookups and remove depency on the instance
-
由 Aaron Patterson 提交于
we don't need to repeat if statements
-
由 Aaron Patterson 提交于
now we only have to look up @scope[:scope_level] once per call to canonical_action? and we don't have a variable named "flag"
-
由 Aaron Patterson 提交于
since we pass `as` down, then we won't have to do an insert / delete dance with the options hash
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
UnexpectedError exceptions wrap the original exception, and the original exception may contain a reference to something that can't be marshal dumped which will cause the process to die.
-
由 Zachary Scott 提交于
[ci skip] add note about the ERB escape in generator docs
-
由 Aditya Kapoor 提交于
-
由 Santiago Pastorino 提交于
[ci skip] correct default cache store class
-
由 Akira Matsuda 提交于
-
由 Guo Xiang Tan 提交于
The test was not failing for `assert_template file: nil` when a file has been rendered.
-
- 13 8月, 2014 6 次提交
-
-
由 Yves Senn 提交于
This solves errors like: ``` BaseTest#test_you_can_register_multiple_observers_to_the_mail_object_that_both_get_informed_on_email_delivery: Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25 /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `open' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `call' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `timeout' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:550:in `do_start' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:520:in `start' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:2136:in `do_delivery' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:232:in `block in deliver' /Users/senny/Projects/rails/actionmailer/lib/action_mailer/base.rb:528:in `block in deliver_mail' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications.rb:164:in `block in instrument' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications.rb:164:in `instrument' /Users/senny/Projects/rails/actionmailer/lib/action_mailer/base.rb:526:in `deliver_mail' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:232:in `deliver' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:598:in `block (2 levels) in <class:BaseTest>' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:801:in `mail_side_effects' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:593:in `block in <class:BaseTest>' ``` where the `:smtp` delivery method was leaked over to other test cases.
-
由 Akira Matsuda 提交于
-
由 Aditya Kapoor 提交于
-
由 Yves Senn 提交于
[ci skip] fix spelling of overridden
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-