Datastore Adapter
ActiveRecord Adatper for AppEngine Datastore. The AppEngine Datastore is not a relational database system. So, this adapter only support some basic features.
Installation
Use appengine-sdk (1.4.0)
Create Rails 3 application:
gem install rails --version=3.0.6
rails new app_name -m http://siddick.github.com/datastore/rails3.rb
cd app_name
appcfg.rb run bin/rails g scaffold post title:string content:text
appcfg.rb run bin/rake db:migrate
Run the server:
dev_appserver.rb .
Supported Features
- has_many and belongs_to
- migration
- table indexes
- operators( =, >, >=, <=, <>, in, and )
Not Supported
Datastore is not a Relational Database system. So, you can’t expect more.
- Joins
- operators( or, between, like, etc )
Bugs
Please report the bugs.