- 28 9月, 2013 5 次提交
-
-
由 Paul Nikitochkin 提交于
In order to build associated records for owners which has not been saved need to get where values to use as default attributes. But for new record owner uses `ActiveRecord::NullRelation` which override `where_values_hash` to return empty hash stub. `where_values_hash` is not used to invoke any sql query, but good to build others chains (even will be never executed) like: ```ruby post = Post.new admin_comment = post.admin_comments.build assert_equal 'Admin', admin_comment.author ``` Closes #11376, #11676, #11675
-
由 Aaron Patterson 提交于
side of a hm:t association along with preloading.
-
由 Jeremy Kemper 提交于
Fixed grammatical typo in configuring.md guide.
-
由 Roman Kofman 提交于
-
由 Guillermo Iguaran 提交于
Getting Started Guide: Fix code container in Chapter 5.2 [ci-skip]
-
- 27 9月, 2013 11 次提交
-
-
由 Francis Go 提交于
-
由 Yves Senn 提交于
Getting Started Guide: Update sentence in Chapter 5.8 [ci-skip]
-
由 Yves Senn 提交于
Remove HelperyTestHelper not used in any test
-
由 Francis Go 提交于
-
由 Yves Senn 提交于
Add new line after create action on CommentsController code example [ci skip]
-
由 Francis Go 提交于
-
由 Rafael Mendonça França 提交于
Adds template dependencies rake task from cache_digests gem.
-
由 Thomas von Deyen 提交于
This adds the rake tasks `cache_digests:dependencies` and `cache_digests:nested_dependencies` from `cache_digests` gem.
-
由 Yves Senn 提交于
[ci skip] Update scaffold output and change some words.
-
由 Juanito Fatas 提交于
Scaffold output: add jbuilder, update timestamp (edge guide!) Add some file breadcrumb (comment) to help reader find files. Improve readability by adding some command outputs. Thanks for great help from @senny.
-
由 Yves Senn 提交于
Getting Started Guide: post.rb -> Post [ci skip]
-
- 26 9月, 2013 24 次提交
-
-
由 Yves Senn 提交于
[ci skip] escape unintended url in docs
-
由 Chris Ciollaro 提交于
-
由 Yves Senn 提交于
added "id: false" to HABTM join table example [ci skip]
-
由 Yves Senn 提交于
Getting Started Guide: posts_controller -> PostsController [ci skip]
-
由 Francis Go 提交于
-
由 Yves Senn 提交于
[ci skip] Add missing periods in active_record_basics.md.
-
由 Juanito Fatas 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Correct error in ActiveRecord Querying guide [ci skip]
-
由 Yves Senn 提交于
Getting Started Guide: update link_to string argument to use single-quote [ci skip]
-
由 Francis Go 提交于
Getting Started Guide: update link_to string argument to use single-quote mark, following document style [ci skip]
-
由 Rafael Mendonça França 提交于
Fix small typo in docs
-
由 Rafael Mendonça França 提交于
fix .find when inverse is loaded
-
由 Jonathan Baudanza 提交于
-
由 Arthur Neves 提交于
-
由 Arthur Neves 提交于
.find([1]) should return an Array of entries, even when a invese object is in memory already
-
由 Rafael Mendonça França 提交于
Make sure inverse_of is visible on the has_many callbacks
-
由 Arthur Neves 提交于
-
由 Aaron Patterson 提交于
* master: (62 commits) Getting Started Guide: Hello Rails! -> Hello, Rails! and wrap code tag Add CHANGELOG entry for #12344 Add regression test to #12343 Fix typo in number_to_human docs: you -> your [Documentation] Add a missing validation to I18n docs Use the given name in html_options for the hidden field in collection_check_boxes assign_attributes should return if argument is blank. No need the else clause Use join to concat the both side of the AST Add a CHANGELOG entry about Web Console inclusion added column type to example in section 2.3 Include web-console in new projects Gemfile ActiveRecord::ConnectionAdapters::Column.string_to_time method respects string with timezone. Closes #12278. add test_scoped_root_as_name Getting Started Guide: update RubyGems Guides link [ci skip] Deprecate unused quoted_locking_column method. Update references to wycats/thor to erikhuda/thor. bcrypt-ruby v3.1.2 supports Ruby 2.0 on Windows Fix the model name in the association basics guides We shouldn't override PostgreSQLAdapter's superclass inheritance while monkeypatching ...
-
由 Arthur Neves 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
owners once
-
由 Aaron Patterson 提交于
the @associated_records_by_owner ivar
-