diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-20 18:48:01 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-20 19:04:53 -0600 |
commit | c0ad3f6cc618f42eae0c5d5ceefde32ff3342c20 (patch) | |
tree | ad15c5f511f2a4b0bfed81086b933b92befcb5ce /activeresource/lib/active_resource/schema.rb | |
parent | 669c5eec445ff097b765c387b92ae1f174134f75 (diff) | |
download | rails-c0ad3f6cc618f42eae0c5d5ceefde32ff3342c20.tar.gz rails-c0ad3f6cc618f42eae0c5d5ceefde32ff3342c20.tar.bz2 rails-c0ad3f6cc618f42eae0c5d5ceefde32ff3342c20.zip |
Rename define_schema => schema
Diffstat (limited to 'activeresource/lib/active_resource/schema.rb')
-rw-r--r-- | activeresource/lib/active_resource/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/lib/active_resource/schema.rb b/activeresource/lib/active_resource/schema.rb index 498b00ffef..6f0b229145 100644 --- a/activeresource/lib/active_resource/schema.rb +++ b/activeresource/lib/active_resource/schema.rb @@ -15,13 +15,13 @@ module ActiveResource # :nodoc: # unlike an Active Record TableDefinition (on which it is based). # It provides a set of convenience methods for people to define their # schema using the syntax: - # define_schema do |s| + # schema do |s| # s.string :foo # s.integer :bar # end # # The schema stores the name and type of each attribute. That is then - # read out by the define_schema method to populate the actual + # read out by the schema method to populate the actual # Resource's schema def initialize @attrs = {} |