- 17 3月, 2013 6 次提交
-
-
由 Vipul A M 提交于
-
由 Rafael Mendonça França 提交于
Refactor Person/Friendship relationships to be more intuitive
-
由 Mack Earnhardt 提交于
PR #5210 added a Friendship model to illustrate a bug, but in doing so created a confusing structure because both belongs_to declarations in Friendship referred to the same side of the join. The new structure maintains the integrity of the bug test while changing the follower relationship to be more useful for other testing.
-
由 Steve Klabnik 提交于
There was an s missing in 'views'. Fixes #9752.
-
由 Steve Klabnik 提交于
This reverts commit 867dc170, reversing changes made to 9a421aaa. This breaks anyone who's using ForceSSL: https://travis-ci.org/rails-api/rails-api/jobs/5556065 Please see comments on #8156 for some discussion.
-
由 Steve Klabnik 提交于
When I updated these images, I must have gotten this one wrong. Now it's right. Fixes #9749.
-
- 16 3月, 2013 13 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
Fix for inflector's incorrect camelCase replacement for acronyms
-
由 Fred Wu 提交于
-
由 Fred Wu 提交于
Fixed a bug where the inflector would replace camelCase strings and disregarding specified acronyms, fixes #8015
-
由 Xavier Noria 提交于
-
由 Jeremy Kemper 提交于
The counter cache will now work correctly when the foreign key is changed. Fixes #9722.
-
由 John Wang 提交于
the primary key on an association will make sure that the corresponding counter on the association is changed properly. Fixes #9722.
-
由 Rafael Mendonça França 提交于
Method #primary_key? is not reused
-
由 Steve Klabnik 提交于
This reverts commit b7d9d6e2. Per discussion with @jeremy and @rubys on Campfire.
-
由 Steve Klabnik 提交于
multipart POST - utf8 param name not encoded
-
由 Carlos Antonio da Silva 提交于
-
由 Steve Klabnik 提交于
Rails default logging to STDOUT
-
由 Terence Lee 提交于
-
- 15 3月, 2013 21 次提交
-
-
由 Jon Leighton 提交于
make it possible to disable implicit join references.
-
由 Yves Senn 提交于
Closes #9712.
-
由 Anupam Choudhury 提交于
-
由 Jon Leighton 提交于
This reimplements the behaviour of Rails 3, as I couldn't see why we shouldn't cache the object, and @alindeman had a good use case for caching it: https://github.com/rails/rails/commit/c86a32d7451c5d901620ac58630460915292f88b#commitcomment-2784312
-
由 Jon Leighton 提交于
rename `Relation#uniq` to `Relation#distinct`
-
由 Yves Senn 提交于
We moved more and more away from passing options to finder / calculation methods. The `:distinct` option in `#count` was one of the remaining places. Since we can now combine `Relation#distinct` with `Relation#count` the option is no longer necessary and can be deprecated.
-
由 Yves Senn 提交于
The similarity of `Relation#uniq` to `Array#uniq` is confusing. Since our Relation API is close to SQL terms I renamed `#uniq` to `#distinct`. There is no deprecation. `#uniq` and `#uniq!` are aliases and will continue to work. I also updated the documentation to promote the use of `#distinct`.
-
由 Carlos Antonio da Silva 提交于
Small typos here and there.
-
由 Jon Leighton 提交于
Cast number to string in Postgres
-
由 Andrew White 提交于
Warning removed unused variable task_name
-
由 Carlos Antonio da Silva 提交于
-
由 Arun Agrawal 提交于
warning: assigned but unused variable - task_name
-
由 Andrew White 提交于
`#reset_counters` verifies counter names.
-
由 Yves Senn 提交于
Closes #9724. Raise an `ArgumentError` when the name of the counter does not match an association name.
-
由 Andrew White 提交于
Rework headers functional tests
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
The env hash passed to `Http::Headers#new` must be in env format. Also be aware that the passed hash is modified directly. docs and test-cases for setting headers/env in functional tests. Follow up to #9700.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Vipul A M 提交于
-
由 Aaron Patterson 提交于
-