Rails with Cassandra

38 views
Skip to first unread message

Sumit Srivastava

unread,
Jul 30, 2012, 4:14:30 AM7/30/12
to rubyonra...@googlegroups.com
I am trying to integrate Cassandra with Rails using the method described on this page,

https://github.com/dtmconsultoria/cassandra-integration

I made a small change. I created a rails app with two variables, Name and Age. Name of the app is user.
After I did this,
I ran the rails server. Everything works fine except when I click on the "create user" button. I receive the following error.

NameError (uninitialized constant RAILS_ENV):
  app/controllers/users_controller.rb:46:in `create'
  app/controllers/users_controller.rb:45:in `create'


I am not able to trace the exact problem. How can I verify if the column family I created in Cassandra is actually connected to the app.



Reply all
Reply to author
Forward
0 new messages