Ruby on Rails Tuesday, October 21, 2014

Yvon,

You should search for "mongoid" in rails. Mongoid is one of the adpater for mongodb.

You can below link to get started

On Tue, Oct 21, 2014 at 12:38 PM, Yvon Thoraval <yvon.thoraval@gmail.com> wrote:
Hey all,

that's the first time I'm posting here.

I'm really a newbie, I did only the blog in "Getting Started with Rails"

I'd like to continue testing Rails but I wonder how to switch from SQLite3 to MongoDB because my datas are here ...

Best

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5a54cba5-43e0-4544-9578-7404cd0c16e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
------------------------------------------------------------------------------------------
Regards
sathia

Here I share my experiments with open source.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAN5jxNbpeA0bK81A0aWzBKtRBjffRYNqzEmUMXSSKyqPu6PHWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 21 October 2014 01:03, minki <mchankey@gmail.com> wrote:
> OCI Library Initialization Error

I don't personally know the solution but I note that googling for
OCI Library Initialization Error
yields a fair number of hits, including, for example, the fact that it
is necessary to have ORACLE_HOME defined. If it is not this then it
might be worth googling yourself and working through
the hits to see if something there is useful.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvDjQKYRQeAsL22epkPidQSYKrwjEz3cZ6Qxwr3UFVXNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 20 October 2014 23:56, Aspiring.Student.programmer <sabrina.ncx@gmail.com> wrote:
Hey

I am adding another database to my first one and i created the html to work showing the data but when i want to create a new entry this error occurs. I have a new controller with everything in it but not sure why it doesnt work.

Do you mean a new table, rather than a new database?
 


ActionController::UrlGenerationError in Shopping#new

Showing C:/Sites/blog/app/views/shopping/new.html.erb where line #2 raised:

No route matches {:action=>"show", :controller=>"shopping"} missing required keys: [:id]

Extracted source (around line #2):

1  2  3  4  5  
<h1>Shopping#new</h1>
<%= form_for @shop, url: shopping_path do |f| %>

Can you post the file db/schema.rb please.

By the way, it is generally better to copy/paste the error from the terminal window rather than post the html.  It should also be in development.log.

Colin
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsDYSW_zUZ1nVTMeNsfpSDTOtQSrUvquGJAMNTaRLZEAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.