Permalink
Browse files

Active Record has a space in its name

  • Loading branch information...
1 parent 3f2a8c3 commit 0d9eae3f3227abe0b4b90101433a85a546d6a943 @nertzy nertzy committed Apr 2, 2013
Showing with 6 additions and 7 deletions.
  1. +3 −3 README.rdoc
  2. +2 −2 pg_search.gemspec
  3. +1 −2 spec/pg_search_spec.rb
View
@@ -15,7 +15,7 @@ Read the blog post introducing PgSearch at http://pivotallabs.com/pg-search/
== REQUIREMENTS
-* ActiveRecord 3.1 or later
+* Active Record 3.1 or later
* PostgreSQL
* {PostgreSQL contrib packages for certain features}[https://github.com/Casecommons/pg_search/wiki/Installing-Postgres-Contrib-Modules]
@@ -45,15 +45,15 @@ The newest versions of PgSearch no longer support Rails 2. However, the 0.2 seri
The 0.2 branch lives at https://github.com/Casecommons/pg_search/tree/0.2-stable
-=== Other ActiveRecord-based projects
+=== Other Active Record projects
In addition to installing and requiring the gem, you may want to include the PgSearch rake tasks in your Rakefile. This isn't necessary for Rails projects, which gain the Rake tasks via a Railtie.
load "pg_search/tasks.rb"
== USAGE
-To add PgSearch to an ActiveRecord model, simply include the PgSearch module.
+To add PgSearch to an Active Record model, simply include the PgSearch module.
class Shape < ActiveRecord::Base
include PgSearch
View
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
s.authors = ["Case Commons, LLC"]
s.email = ["casecommons-dev@googlegroups.com"]
s.homepage = "https://github.com/Casecommons/pg_search"
- s.summary = %q{PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's full text search}
- s.description = %q{PgSearch builds ActiveRecord named scopes that take advantage of PostgreSQL's full text search}
+ s.summary = %q{PgSearch builds Active Record named scopes that take advantage of PostgreSQL's full text search}
+ s.description = %q{PgSearch builds Active Record named scopes that take advantage of PostgreSQL's full text search}
s.licenses = ["MIT"]
s.files = `git ls-files`.split("\n")
View
@@ -1,7 +1,6 @@
require "spec_helper"
-describe "an ActiveRecord model which includes PgSearch" do
-
+describe "an Active Record model which includes PgSearch" do
with_model :ModelWithPgSearch do
table do |t|
t.string 'title'

0 comments on commit 0d9eae3

Please sign in to comment.