Sha256: afdfe27711b08c3b0cba87733fc55a18b070e96e7d90e3b28083db787f210d45

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

= ActiveGroonga plugin for Ruby on Rails

== Setup

You need to write RAILS_ROOT/config/groonga.yml like the following:

  development:
    database: db/development.groonga

  test:
    database: db/test.groonga

  production:
    database: db/production.groonga

== Model

Here is some examples.

app/model/post.rb:
  class Post < ActiveGroonga::Base
    belongs_to :users
  end

app/model/user.rb:
  class User < ActiveGroonga::Base
    has_many :posts
  end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activegroonga-0.0.7 rails/README
activegroonga-0.0.6 rails/README
activegroonga-0.0.1 rails/README
activegroonga-0.0.2 rails/README