Update activerecord/CHANGELOG.md
Fixed markdown code indenting
This commit is contained in:
parent
dc464b93ec
commit
c046a29a32
@ -52,11 +52,11 @@
|
|||||||
* `ActiveRecord::Relation#inspect` now makes it clear that you are
|
* `ActiveRecord::Relation#inspect` now makes it clear that you are
|
||||||
dealing with a `Relation` object rather than an array:.
|
dealing with a `Relation` object rather than an array:.
|
||||||
|
|
||||||
User.where(:age => 30).inspect
|
User.where(:age => 30).inspect
|
||||||
# => <ActiveRecord::Relation [#<User ...>, #<User ...>, ...]>
|
# => <ActiveRecord::Relation [#<User ...>, #<User ...>, ...]>
|
||||||
|
|
||||||
User.where(:age => 30).to_a.inspect
|
User.where(:age => 30).to_a.inspect
|
||||||
# => [#<User ...>, #<User ...>]
|
# => [#<User ...>, #<User ...>]
|
||||||
|
|
||||||
The number of records displayed will be limited to 10.
|
The number of records displayed will be limited to 10.
|
||||||
|
|
||||||
@ -65,15 +65,15 @@
|
|||||||
* Add `collation` and `ctype` support to PostgreSQL. These are available for PostgreSQL 8.4 or later.
|
* Add `collation` and `ctype` support to PostgreSQL. These are available for PostgreSQL 8.4 or later.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
development:
|
development:
|
||||||
adapter: postgresql
|
adapter: postgresql
|
||||||
host: localhost
|
host: localhost
|
||||||
database: rails_development
|
database: rails_development
|
||||||
username: foo
|
username: foo
|
||||||
password: bar
|
password: bar
|
||||||
encoding: UTF8
|
encoding: UTF8
|
||||||
collation: ja_JP.UTF8
|
collation: ja_JP.UTF8
|
||||||
ctype: ja_JP.UTF8
|
ctype: ja_JP.UTF8
|
||||||
|
|
||||||
*kennyj*
|
*kennyj*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user