public
Description: PLEASE CHECK http://github.com/lifo/docrails/wikis
Homepage: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
Clone URL: git://github.com/lifo/docrails.git
Search Repo:
Killing/fixing a bunch of outdated language in the AR README.
jbarnette (author)
Tue May 06 22:46:44 -0700 2008
commit  8f463550b597db2156b67733f31aed13487fbc3a
tree    64f4f3137179199ffcb09007d820f3b9711ae81e
parent  963d7caeeec0288803e83557cc890047e35ea801
...
169
170
171
172
173
174
175
 
 
 
 
176
177
178
...
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
...
336
337
338
339
 
340
341
342
...
357
358
359
360
361
 
 
...
169
170
171
 
 
 
 
172
173
174
175
176
177
178
...
289
290
291
 
 
 
 
 
 
 
 
 
 
292
293
294
...
326
327
328
 
329
330
331
332
...
347
348
349
 
 
350
351
0
@@ -169,10 +169,10 @@ A short rundown of the major features:
0
     class AddSystemSettings < ActiveRecord::Migration
0
       def self.up
0
         create_table :system_settings do |t|
0
- t.string :name
0
- t.string :label
0
- t.text :value
0
- t.string :type
0
+ t.string :name
0
+ t.string :label
0
+ t.text :value
0
+ t.string :type
0
           t.integer :position
0
         end
0
 
0
@@ -289,16 +289,6 @@ Bi-directional associations thanks to the "belongs_to" macro
0
    thirty_seven_signals.firm.nil? # true
0
 
0
 
0
-== Examples
0
-
0
-Active Record ships with a couple of examples that should give you a good feel for
0
-operating usage. Be sure to edit the <tt>examples/shared_setup.rb</tt> file for your
0
-own database before running the examples. Possibly also the table definition SQL in
0
-the examples themselves.
0
-
0
-It's also highly recommended to have a look at the unit tests. Read more in link:files/RUNNING_UNIT_TESTS.html
0
-
0
-
0
 == Philosophy
0
 
0
 Active Record attempts to provide a coherent wrapper as a solution for the inconvenience that is
0
@@ -336,7 +326,7 @@ then use:
0
 
0
   % [sudo] gem install activerecord-1.10.0.gem
0
 
0
-You can also install Active Record the old-fashion way with the following command:
0
+You can also install Active Record the old-fashioned way with the following command:
0
 
0
   % [sudo] ruby install.rb
0
 
0
@@ -357,5 +347,5 @@ RubyForge page at http://rubyforge.org/projects/activerecord. And as Jim from Ra
0
    remember to update the corresponding unit tests. If fact, I prefer
0
    new feature to be submitted in the form of new unit tests.
0
 
0
-For other information, feel free to ask on the ruby-talk mailing list
0
-(which is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.
0
+For other information, feel free to ask on the rubyonrails-talk
0
+(http://groups.google.com/group/rubyonrails-talk) mailing list.

Comments

    No one has commented yet.