Ok, I've got Rails working with DM and I can display my pages, using
the tutes below:

http://code.google.com/p/appengine-jruby/wiki/RunningRails
http://gist.github.com/268192

However I appear to be using memory as store and I can't persist data.
I know I should use one of the dm-SQL-adapters, but I want to use
appengine datastore eventually.

The strange thing is that if I run script/console.sh, I am writing to
WEB-INF/appengine-generated/local_db.bin and I can persist records. So
how come it doesn't use this in script/server.sh?

Output of script/about:

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.7
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /home/local/jruby/dir
Environment               development
Database adapter          nulldb
Database schema version   0

What am I missing? What do I need to fix?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamap...@googlegroups.com.
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to