aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-04-11 07:53:39 +0200
committerYves Senn <yves.senn@gmail.com>2014-04-11 07:53:39 +0200
commit856ffbe7058065a34a708fd5b398c0553f9f1f97 (patch)
tree3296bf7cb4fd45618ed273c5b98365c066953556 /activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
parenta7a180bd8158a0a2151f0711b874a7495820d6e0 (diff)
downloadrails-856ffbe7058065a34a708fd5b398c0553f9f1f97.tar.gz
rails-856ffbe7058065a34a708fd5b398c0553f9f1f97.tar.bz2
rails-856ffbe7058065a34a708fd5b398c0553f9f1f97.zip
docs, make association `autosave: true` examples runnable. Closes #14700
[ci skip] The examples are written in a way you expect them to be executable. However one snippet assumed there to be two comments when only one was created above. The defined models did not extend `ActiveRecord::Base` The example used `comments.last.mark_for_destruction`. This does no longer load the whole collection but just the last record. It is then refetcht on subsequent calls to `last`. This breaks the example.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb')
0 files changed, 0 insertions, 0 deletions