Permalink
Browse files

Fix formatting on README (take 4)

  • Loading branch information...
1 parent 83badac commit e715ffcb4dc5aa29110c64d0aed77c58d2cfa2c8 @markmcspadden markmcspadden committed May 26, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.textile
View
@@ -8,21 +8,21 @@ The DonorsChoose::Data module match up the normalized data provided by DonorsCho
h2. Usage
-@@@@ruby
+@@ruby
project = DonorsChoose::Data::Project.first
project.donations
school = DonorsChoose::Data::School.last
school.teachers
-@@@@
+@@
h3. Rails
If you'd like to use it in Rails, just add the following to your Gemfile:
-@@@@ruby
+@@ruby
gem 'donors_choose'
-@@@@
+@@
h3. Stand alone
@@ -40,12 +40,12 @@ schema_search_path: public
Then, drop into irb, require the gem, and establish the db connection
-@@@@ruby
+@@ruby
terminal$ irb
irb(main):001:0> require 'rubygems'
irb(main):001:0> require 'donors_choose'
irb(main):001:0> DonorsChoose::Data.connect(YAML.load(File.read('database.yml')))
irb(main):001:0> DonorsChoose::Data::Project.first
-@@@@
+@@

0 comments on commit e715ffc

Please sign in to comment.