RailsCasts Pro episodes are now free!

Learn more or hide this

Er.Love's Profile

GitHub User: regmiprem

Site: http://www.braindigit.com

Comments by Er.Love

Avatar

I want to implement this in MongoDB database. Any idea? If some hints then welcome. Also i asked this question in stackoverflow.
http://stackoverflow.com/questions/14090621/sortable-table-columns-is-not-working-working-in-mongodb

Avatar

I want to implement 236-omniauth-part-2 in my Project But i get error
NoMethodError in AuthenticationsController#create

undefined method `find_by_provider_and_uid' for Authentication:Class

I define it in stackoverflow. http://stackoverflow.com/questions/13561140/i-am-using-rails-cast-omniauth-and-i-get-this-error

Avatar

Is there any idea not to select the name that is already choosen in token input? for example In first i select mango when i search for m. Next time again when i search for m Mango should not be displayed as mango is already choosen. Is there any idea?

Avatar

I am using ruby 1.9.3p194 and rails 3.2.5
when i do @authors = Author.all It works fine by outputing all name from my database.
But @authors = Author.where("name like ?", "%#{params[:q]}%")
is not working. I am using Mongodb.
What could be the solution?