aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_postgresql.md
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-05-18 18:58:50 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-05-18 18:58:50 +0200
commit623da132561e8a2441756adcac9e80815c17f27f (patch)
tree43eea7eb48ea75efdd247a892f1ad9b72d07be94 /guides/source/active_record_postgresql.md
parentddf32daed8d81cf8e93afd1cb9f81f26bad7cb59 (diff)
downloadrails-623da132561e8a2441756adcac9e80815c17f27f.tar.gz
rails-623da132561e8a2441756adcac9e80815c17f27f.tar.bz2
rails-623da132561e8a2441756adcac9e80815c17f27f.zip
A tiny pass through the PostgreSQL guide [ci skip]
Diffstat (limited to 'guides/source/active_record_postgresql.md')
-rw-r--r--guides/source/active_record_postgresql.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md
index 169a48afb9..8278bb5c0f 100644
--- a/guides/source/active_record_postgresql.md
+++ b/guides/source/active_record_postgresql.md
@@ -171,7 +171,7 @@ event.ends_at # => Thu, 13 Feb 2014
* [type definition](http://www.postgresql.org/docs/9.3/static/rowtypes.html)
-Currently there is no special support for composite types. They are mapped to as
+Currently there is no special support for composite types. They are mapped to
normal text columns:
```sql
@@ -287,8 +287,9 @@ user.save!
* [type definition](http://www.postgresql.org/docs/9.3/static/datatype-net-types.html)
-The types `inet` and `cidr` are mapped to Ruby [`IPAddr`](http://www.ruby-doc.org/stdlib-2.1.1/libdoc/ipaddr/rdoc/IPAddr.html) objects. The
-`macaddr` type is mapped to normal text.
+The types `inet` and `cidr` are mapped to Ruby
+[`IPAddr`](http://www.ruby-doc.org/stdlib-2.1.1/libdoc/ipaddr/rdoc/IPAddr.html)
+objects. The `macaddr` type is mapped to normal text.
```ruby
# db/migrate/20140508144913_create_devices.rb