Skip to content

Commit

Permalink
Active Record has a space in its name
Browse files Browse the repository at this point in the history
  • Loading branch information
nertzy committed Apr 2, 2013
1 parent 3f2a8c3 commit 0d9eae3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Expand Up @@ -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]

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pg_search.gemspec
Expand Up @@ -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")
Expand Down
3 changes: 1 addition & 2 deletions spec/pg_search_spec.rb
@@ -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'
Expand Down

0 comments on commit 0d9eae3

Please sign in to comment.