rails/activerecord/lib
alpaca-tc 4c245bfd12 Fix a bug that prevented #pretty_print from displaying records unsaved in collection association.
The change in PR #43302 introduced a bug where unsaved records are not displayed in pretty_print.
The following code will not show unsaved records until this PR is merged.

```ruby
post = Post.create!
post.comments.build

pp(post.comments) #=> expected "[#<Post:0x000000014c0b48a0 ...>]", got "[]"
```

Fixed to call `#load_target` before display as well as `#inspect`.
2023-07-05 12:08:40 +09:00
..
active_record Fix a bug that prevented #pretty_print from displaying records unsaved in collection association. 2023-07-05 12:08:40 +09:00
arel Adds Arel::Nodes::Cte for use in WITH expressions 2023-05-24 19:19:21 -04:00
rails/generators Simplify the implementation to register the correct source_path for the migration template 2023-05-24 22:54:12 +00:00
active_record.rb Disable database prepared statements when query logs are enabled 2023-07-03 16:59:44 +09:00
arel.rb Fix a code block in the Arel documentation 2023-05-06 18:57:12 -07:00