[Rails] Problem testing controller

2013-10-03 Thread Mark DiSanti
Hello, I'm very new with Ruby (and Rails), but I need to make a test with testcase. I made an application that use openid login (following Ryan Bates's tutorial), where the session controller code is: def create if using_open_id? open_id_authentication(params[:openid_url]) ... end end

[Rails] Ruby on Rails Devise Error: no secure_key

2013-10-03 Thread Anishka Vaghani
I just installed devise 3.1.1 and whenever I run "rails generate devise:install" I get an error saying that "Devise.secret_key was not set. Please add the following to your Devise initializer." I checked in my "Config/initializers/" folder but there is no "devise.rb" file to edit! What should I do?

[Rails] Re: Ruby on Rails ExecJS::RuntimeError in Pages#home

2013-10-03 Thread Anishka Vaghani
Khizer Mehdi wrote in post #1122896: > Hi, > add in Gemfile > gem 'execjs' > gem 'therubyracer' run bundle install and check > > Regards > Mehdi Thanks, problem solved :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Grou

[Rails] Re: [ANN] Rails 3.2.15.rc1 has been released!

2013-10-03 Thread Aaron Patterson
Oops, I forgot to mention. If we don't have any regressions reported, I will release the final version on October 7 around 10am PDT. On Thu, Oct 03, 2013 at 12:00:08PM -0700, Aaron Patterson wrote: > Hi everybody! > > Rails 3.2.15.rc1 has been released. Please help us test the release > candida

[Rails] [ANN] Rails 3.2.15.rc1 has been released!

2013-10-03 Thread Aaron Patterson
Hi everybody! Rails 3.2.15.rc1 has been released. Please help us test the release candidate before we do the actual release. If you find any regressions between 3.2.14 and the 3.2.15 release candidate, please report them here: https://github.com/rails/rails/issues Or to the Ruby on Rails cor

Re: [Rails] Rails 4 ujs button only works after second click

2013-10-03 Thread Colin Law
On 2 October 2013 23:06, dasibre wrote: > Here's the code > https://gist.github.com/dasibre/6786245 > > new.js.erb file has the following js code > > $('a.pinbutton').on('click', function() { > $(this).parent().append('<%= escape_javascript(render("select")) %>') > }); > > here's the player in