Ruby on Rails Sunday, June 30, 2013

Hi,


I'm looking for some benchmarks between the different versions of Ruby on Rails to show the benefits to migrate to Rails 4.

If anyone, have articles about this topic, i'm interested.

Thanks.

--
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/829e0341-ba83-4721-a621-bf6fa021d49b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Hi,


Q1: The goal is to return the current object with 'self'.

When, you try in irb => 'a' && 'b', Ruby returns you 'b', because is the last non nil object but when the password comparaison failed, it the comparaison value which is returned, thus 'false'.

Q2: According to my interpretation, there is none validations on the current object.

Best regards.

Le samedi 29 juin 2013 10:40:45 UTC+2, Ruby-Forum.com User a écrit :
has_secure_password has a method authenticate to authenticate users
using bcrypt. In secure_password.rb file I found the following lines
(from github):

  def authenticate(unencrypted_password)
    BCrypt::Password.new(password_digest) == unencrypted_password &&
self
  end

BCrypt::Password.new(password_digest) == unencrypted_password is clear.

Q1: Can anyone explain why the result of
BCrypt::Password.new(password_digest) == unencrypted_password is ANDed
with 'self'?

Q2: Since authenticate becomes an instance method of a class, for
instance,User and so an instance method of, say, object user, self must
be equal to (the current object) `user'. Am I right?

--
Posted via http://www.ruby-forum.com/.

--
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/62baff10-0cc5-4ade-90a0-56182c3831f6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

m done with that this is for the second deployment with updated code...


On Mon, Jul 1, 2013 at 11:33 AM, saikiran mothe <saikiran.mothe@gmail.com> wrote:
Hi,

https://devcenter.heroku.com/articles/rails3#deploy-your-application-to-heroku


Just follow the steps mentioned there.'

Thanks,
Sai 


On Mon, Jul 1, 2013 at 11:27 AM, Annapoorna R <prapoorna.r@gmail.com> wrote:
using rails 3.2.13 ruby 1.9.3,
 
git push heroku
Everything up to date

heroku open
Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

heroku logs

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dep

endency'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

 2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:3:in `block

in <main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `<main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `new'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `<main>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `require'

 

2013-07-01T05:42:07.492202+00:00 heroku[web.1]: Process exited with status 1

2013-07-01T05:42:07.507152+00:00 heroku[web.1]: State changed from starting to c

rashed

2013-07-01T05:42:19.074727+00:00 heroku[web.1]: State changed from crashed to st

arting

2013-07-01T05:42:22.547997+00:00 heroku[web.1]: Starting process with command `b

undle exec rails server -p 16404`

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

set gemfile to gem 'pg'

--
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/CAEGezZV%3DPtQ_q-7qBD2R9-92ZAxf7Pm1RdAEHxYLkWKjE0fp8g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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/CA%2BMnYCo8657CdLJartocnUeYqj1S5dGtS0_%3D7u%2B4r3aZ2cGrwg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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/CAEGezZVAGjp3iqEH5aCTt5pkNnBTgTtPoRwPQWMtX4oiOGZ3zw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Hi,

https://devcenter.heroku.com/articles/rails3#deploy-your-application-to-heroku


Just follow the steps mentioned there.'

Thanks,
Sai 


On Mon, Jul 1, 2013 at 11:27 AM, Annapoorna R <prapoorna.r@gmail.com> wrote:
using rails 3.2.13 ruby 1.9.3,
 
git push heroku
Everything up to date

heroku open
Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

heroku logs

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dep

endency'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

 2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:3:in `block

in <main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `<main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `new'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `<main>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `require'

 

2013-07-01T05:42:07.492202+00:00 heroku[web.1]: Process exited with status 1

2013-07-01T05:42:07.507152+00:00 heroku[web.1]: State changed from starting to c

rashed

2013-07-01T05:42:19.074727+00:00 heroku[web.1]: State changed from crashed to st

arting

2013-07-01T05:42:22.547997+00:00 heroku[web.1]: Starting process with command `b

undle exec rails server -p 16404`

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

set gemfile to gem 'pg'

--
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/CAEGezZV%3DPtQ_q-7qBD2R9-92ZAxf7Pm1RdAEHxYLkWKjE0fp8g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
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/CA%2BMnYCo8657CdLJartocnUeYqj1S5dGtS0_%3D7u%2B4r3aZ2cGrwg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

using rails 3.2.13 ruby 1.9.3,
 
git push heroku
Everything up to date

heroku open
Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

heroku logs

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dep

endency'

2013-07-01T05:42:06.385364+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

 2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:3:in `block

in <main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `<main>'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `tap'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/config.ru:in `new'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app'

2013-07-01T05:42:06.385740+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands/server.rb:46:in `app'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:50:in `<top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/railties-3.2.13/lib/rails/commands.rb:55:in `block in <top (required)>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0

.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `<main>'

2013-07-01T05:42:06.385879+00:00 app[web.1]:    from script/rails:6:in `require'

 

2013-07-01T05:42:07.492202+00:00 heroku[web.1]: Process exited with status 1

2013-07-01T05:42:07.507152+00:00 heroku[web.1]: State changed from starting to c

rashed

2013-07-01T05:42:19.074727+00:00 heroku[web.1]: State changed from crashed to st

arting

2013-07-01T05:42:22.547997+00:00 heroku[web.1]: Starting process with command `b

undle exec rails server -p 16404`

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

2013-07-01T05:42:24.720522+00:00 app[web.1]: DEPRECATION WARNING: You have Rails

 2.3-style plugins in vendor/plugins! Support for these plugins will be removed

in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to

your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release

notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-h

as-been-released. (called from <top (required)> at /app/config/environment.rb:5)

 

set gemfile to gem 'pg'

--
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/CAEGezZV%3DPtQ_q-7qBD2R9-92ZAxf7Pm1RdAEHxYLkWKjE0fp8g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

On Sun, Jun 30, 2013 at 7:25 PM, Dave Aronson
<googlegroups2dave@davearonson.com> wrote:
> My subconscious put together something I had seen on OAuth not liking
> JavaScript-submitted credentials, and the fact that Rails 4 uses
> Turbolinks by default. Adding "'data-no-turbolink' => true" to the
> link_to makes it work! Yaaaay! I'm reporting this in case anyone
> else comes across the same problem.

And premature release of Turbolinks takes another victim.

--
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/CAM5XQnzVsjeuJyGHOe%2B1g4%2BZ%2BoQqCzNaBXvWB2XbFFHg2%2BD6AQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

AHA!

My subconscious put together something I had seen on OAuth not liking
JavaScript-submitted credentials, and the fact that Rails 4 uses
Turbolinks by default. Adding "'data-no-turbolink' => true" to the
link_to makes it work! Yaaaay! I'm reporting this in case anyone
else comes across the same problem.

-Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
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/CAHxKQigAJu3eWbyjSWW9t_vQhD%3DuO7hS0nWuVna4yR-2yxd-Cg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

My app currently has two ways a user can sign in using OAuth via Github:

- Click a button to read something protected. This triggers a
before_filter called authorize, which says:

authorize_github_and_return_to request.url unless signed_in?

This way works just fine (though using the same technique on a
Destroy link doesn't work, presumably due to the _method=delete stuff
not working in the wrong context).

- Click a link that goes to /sign_in. This triggers
SessionsController#new, which says:

authorize_github_and_return_to params.fetch(:return_to, root_url)

This way does NOT work, whether I use a return_to parameter or not.
It leaves me with a page that says "You are being redirected." with
"redirected" being a link to a Github auth page... the very same URL
as the way that works, except for the part after final_url (where to
return to). In the browser's address bar is
"http://localhost:3000/sign_in?return_to=http%3A%2F%2Flocalhost%3A3000%2F".
The logs say:

Started GET "/sign_in?return_to=http%3A%2F%2Flocalhost%3A3000%2F" for
127.0.0.1 at 2013-06-30 17:52:02 -0400
Processing by SessionsController#new as HTML
Parameters: {"return_to"=>"http://localhost:3000/"}
Redirected to https://github.com/login/oauth/authorize?response_type=code&client_id=de15557094c58f8b146d&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fgithub%2Fcallback%3Ffinal_url%3Dhttp%253A%252F%252Flocalhost%253A3000%252F
Completed 403 Forbidden in 2ms (ActiveRecord: 0.0ms)

Now here's the weird part... if I then go to the address bar and hit
return... IT WORKS! Then the logs say (note the EXACT SAME
redirection url above and below):

Started GET "/sign_in?return_to=http%3A%2F%2Flocalhost%3A3000%2F" for
127.0.0.1 at 2013-06-30 17:52:52 -0400
Processing by SessionsController#new as HTML
Parameters: {"return_to"=>"http://localhost:3000/"}
Redirected to https://github.com/login/oauth/authorize?response_type=code&client_id=de15557094c58f8b146d&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fgithub%2Fcallback%3Ffinal_url%3Dhttp%253A%252F%252Flocalhost%253A3000%252F
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)


Started GET "/auth/github/callback?code=f622c143d1321386ea60&final_url=http%3A%2F%2Flocalhost%3A3000%2F"
for 127.0.0.1 at 2013-06-30 17:52:53 -0400
I, [2013-06-30T17:52:53.041032 #26853] INFO -- omniauth: (github)
Callback phase initiated.
Processing by SessionsController#create as HTML
Parameters: {"code"=>"f622c143d1321386ea60",
"final_url"=>"http://localhost:3000/", "provider"=>"github"}
Redirected to http://localhost:3000/
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)


Started GET "/" for 127.0.0.1 at 2013-06-30 17:52:54 -0400
Processing by PullRequestsController#index as HTML
(0.2ms) SELECT COUNT(*) FROM "pull_requests"
PullRequest Load (0.2ms) SELECT "pull_requests".* FROM "pull_requests"
Rendered pull_requests/index.html.erb within layouts/application (2.4ms)
Rendered layouts/_log_in_out.html.erb (0.1ms)
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.5ms)

The method authorize_github_and_return_to is in
application_controller.rb and says:

def authorize_github_and_return_to final_url
github = Github.new(client_id: ENV['GITHUB_KEY'],
client_secret: ENV['GITHUB_SECRET'])
redirect_uri = oauth_callback_url(:github, final_url: final_url)
auth_address = github.authorize_url(redirect_uri: redirect_uri)
redirect_to auth_address
end

If I put a binding.pry right before the redirect, I can see that the
URLs are identical (again, except for the final_url part).

I'm guessing that the key to this mystery is WHY the link to /sign_in
is returning 403. I've Googled "OAuth Github Devise sign_in (403 OR
forbidden)" (sans quotes) and didn't find anything useful. Any clues?

Thanks,
Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
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/CAHxKQii2DGS1_9ZGg0jkNaMiFiGAuFT7e8LPg-yFhwToOH6xFw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Hi all,

0 down vote favorite


I have two models - "symbols" and "users". Among other attributes,
symbols has "created_by_id" and "updated_by_id" attributes which are
id's of users that created/updated a certain symbol entry.

Let's say I want to display the symbols table with their "symbol"
attribute and the nested "created by" and "updated by" (user.username)
attributes for each symbol entry. Resulting table should look something
like this:

symbol created_by updated_by
------------------------------------
symbol1 username1 username2
symbol2 username1 username2

How can I achieve this? I guess I need accepts_nested_attributes_for
:user and probably has_one :user (?) in my Symbol model. Do I also need
belongs_to :user in my User model?

After the models are set up properly, how can I access the username of
users associated with "created_by_id" and "updated_by_id" in my view?

I have an edit form where I used nested form like this (which works
fine):

<%= form_for @symbol do |f| %>
Symbol:
<%= f.text_field :symbol %>
<%= f.fields_for :kanji do |kf| %>
Meaning:
<%= kf.text_field :meaning %>

Onyomi:
<%= kf.text_field :onyomi %>

Kunyomi:
<%= kf.text_field :kunyomi %>
<% end %>
<%= f.submit "Save" %>
<% end %>

but I couldn't figure out how to do something similar in this case where
I have two nested attributes associated with the same symbol.

I'm new to rails so perhaps I got the whole idea of how to do this
wrong. If there is a better than what I just explained how I want to do
it, please correct me.

Thank you

--
Posted via http://www.ruby-forum.com/.

--
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/4000b7d16875823231657b6a7c62612e%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Sun, Jun 30, 2013 at 10:59 AM, Linus Pettersson
<linus.pettersson@gmail.com> wrote:
> So, I'm using Heroku and wonder if I need to use a separate worker dyno for
> these jobs? Or can I use, for example, Unicorn to run Sidekiq "inside" my
> one web dyno?

You can, but it's not recommended.

> I read something about it here: https://coderwall.com/p/fprnhg
> But is it a good idea?

Not if you ask me.

> If it is not appropriate do it this way, can I spin up a separate worker
> when I need to? Perhaps I will create these jobs once a week. It would be
> cool to create a worker -> finish all jobs -> kill worker. Possible?

Have a go with: https://github.com/JustinLove/autoscaler

--
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/CAM5XQnwtPUKfJB9U%2Ba66D%3Df0OLSYF%3DXSVDhegG2TyRdJ9QZEnw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF0EAREIAAYFAlHQbQkACgkQmStwlOckyZmpkwD1FCjNO8VjSE21ZOBEvOfJBI06
Xn0vGc1z/BZijdZtUgD/S+GOl2LngAV+hy5Nysf9gpC9DnZFg1NlSF2OaeDMgiw=
=ljIE
-----END PGP SIGNATURE-----
Am Sun, 30 Jun 2013 08:48:48 -0700 (PDT)
schrieb Muthu Selvan <pearl.selvan@gmail.com>:

> *Norbert Melzer >>* Install rubyXL without sudo
> Muthu Selvan >> gem install rubyXL
> Fetching: rubyXL-1.2.10.gem (100%)
> Successfully installed rubyXL-1.2.10
> 1 gem installed
>
> *ERROR :*
> *
> *
> *$ rvm use jruby
> *
> *Using /Users/mselv2/.rvm/gems/jruby-1.7.4
> *
> *
> *
> *
> cucumber features/java.feature
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in
> `report_activate_error': Could not find RubyGem cucumber (>= 0)
> (Gem::LoadError)
> from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in
> `activate'
> from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in
> `gem'
> from /usr/bin/cucumber:18

Did I get that right? You are installing first and then switching over
to jruby? You should do that the other way round… But since I don't
have knowledge about jRuby I can't tell you anything about that
specific problem you have there… Try switching over to jruby and THEN
installing cucumber.

Ruby on Rails

i am using conemu. it will correctly shows you the color...

after installation, go to settings, integration and register for context menu integration
after that you can open any dir with conemu

you can also set its window transparency

On Sunday, June 30, 2013 3:28:19 PM UTC+7, Ruby-Forum.com User wrote:

I has installed rails in Windows 7 by RailsInstaller
(railsinstaller.org).
When I use rails console, color sequence appears rawly and text colors
are not changed.
How to fix the problem?

Attachments:
http://www.ruby-forum.com/attachment/8551/rails.jpg


--
Posted via http://www.ruby-forum.com/.

--
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/995829bb-805b-4e87-acb3-e64b335ca5fa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Hi


I want to use Sidekiq to run some jobs in the background. The jobs will be created by the whenever gem (or similar) which creates a Sidekiq worker at a specific time. This worker will in turn create a few hundred Sidekiq jobs.

So, I'm using Heroku and wonder if I need to use a separate worker dyno for these jobs? Or can I use, for example, Unicorn to run Sidekiq "inside" my one web dyno?
I read something about it here: https://coderwall.com/p/fprnhg
But is it a good idea?

If it is not appropriate do it this way, can I spin up a separate worker when I need to? Perhaps I will create these jobs once a week. It would be cool to create a worker -> finish all jobs -> kill worker. Possible?

--
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/fb04a82a-ae34-43c2-b6b4-7edc1e7e02fb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Please find the answer as in below ..

Norbert Melzer  >> What is RVM Version ?
Muthu Selvan >> $ rvm version

rvm 1.20.13 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]


Norbert Melzer  >> Install rubyXL without sudo
Muthu Selvan  >> gem install rubyXL
Fetching: rubyXL-1.2.10.gem (100%)
Successfully installed rubyXL-1.2.10
1 gem installed

ERROR :

$ rvm use jruby
Using /Users/mselv2/.rvm/gems/jruby-1.7.4

 cucumber features/java.feature 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem cucumber (>= 0) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
from /usr/bin/cucumber:18


Please let me know is it any thing should i do more ?

Thanks ,
Muthu Selvan SR



On Sunday, 30 June 2013 00:01:12 UTC-7, Norbert Melzer wrote:
2013/6/30 Muthu Selvan <pearl....@gmail.com>
sudo gem install rubyXL ---------> EMPTY RESULT 

This line makes me assume, that you use a system ruby and no version manager… 

So installed rubyXL with the below command ...

Fetching: rubyXL-1.2.10.gem (100%)
Successfully installed rubyXL-1.2.10
1 gem installed

Ruby version :
$ which ruby
/Users/mselv2/.rvm/rubies/jruby-1.7.4/bin/ruby

… while this one tells me, that you manage ruby versions with RVM.

You don't need `sudo` when using RVM, please try again installing rubyXL without sudo!

--
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/8be1ce98-97cb-4668-abb7-1fef7cc227a2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

In some situations a new session was created because the user was logging in/out. Could I copy the old CSRF-token into the new session, or would there be any security leak?


In other cases the user was not logging in/out and didn't get a new session. Maybe the page was cached in the browser, so I added in my layout <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> now.

--
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/9aa259c5-bcb4-4ca7-88d3-5ed7623674df%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Hi.

After update in Gemfile rails gem from 3.2.6 to 4.0.0.

Registration by openid not working.

Log from console:

I, [2013-06-30T17:56:33.632030 #23279]  INFO -- OpenID: Error attempting to use stored discovery information: OpenID::TypeURIMismatch
I, [2013-06-30T17:56:33.632142 #23279]  INFO -- OpenID: Attempting discovery to verify endpoint
I, [2013-06-30T17:56:33.632192 #23279]  INFO -- OpenID: Performing discovery on https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI
I, [2013-06-30T17:56:33.633248 #23279]  INFO -- OpenID: WARNING: making https request to https://www.google.com/accounts/o8/id?id=AItOawkWYlFwqPCS-nTqdu3lyDbTX1sGJ07yhbI without verifying server certificate; no CA path was specified.

--
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/3d182a77-402c-4ffb-b9cd-29037d0fecef%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

There's a quick guide on how to install Sqlite3 on Windows 7 here:

http://www.ruby-forum.com/topic/4413168

I followed the instructions on there, and after a few minor tweaks, I
managed to get it working.

I've tried to attach a zip with the necessary files in. Hopefully if you
can download that you can drop it into a folder like c:/rails, making it
c:/rails/sqlite, and then run this command:

gem install sqlite3 --platform=ruby --
--with-sqlite3-include=c:/rails/sqlite/include
--with-sqlite3-lib=c:/rails/sqlite/lib
--with-sqlite3-dir=c:/rails/sqlite/bin

Sometimes running "bundle install" on a Rails project can install a
conflicting version of the sqlite gem, so make sure you've only got 1
version after using bundle.

It helps to put sqlite3.def and sqlite3.dll somewhere in your path, like
in your Ruby bin folder.

Attachments:
http://www.ruby-forum.com/attachment/8552/sqlite.zip


--
Posted via http://www.ruby-forum.com/.

--
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/35cad52bcd2f5505bab822228798b517%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I has installed rails in Windows 7 by RailsInstaller
(railsinstaller.org).
When I use rails console, color sequence appears rawly and text colors
are not changed.
How to fix the problem?

Attachments:
http://www.ruby-forum.com/attachment/8551/rails.jpg


--
Posted via http://www.ruby-forum.com/.

--
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/9d6bc741150eeb3c7b5f521991126eb8%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

2013/6/30 Muthu Selvan <pearl.selvan@gmail.com>
sudo gem install rubyXL ---------> EMPTY RESULT 

This line makes me assume, that you use a system ruby and no version manager… 

So installed rubyXL with the below command ...

Fetching: rubyXL-1.2.10.gem (100%)
Successfully installed rubyXL-1.2.10
1 gem installed

Ruby version :
$ which ruby
/Users/mselv2/.rvm/rubies/jruby-1.7.4/bin/ruby

… while this one tells me, that you manage ruby versions with RVM.

You don't need `sudo` when using RVM, please try again installing rubyXL without sudo!

--
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/CA%2BbCVstPT-NnbPp%2BAXAGeTNSkgcUsw9m4DZXpVVN5kLtxpaucA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails Saturday, June 29, 2013

don't you need to require rubygems as well when running from a script?

On Sun, 30 Jun 2013 11:30:21 +0800, Muthu Selvan <pearl.selvan@gmail.com>
wrote:

> *sudo gem install rubyXL* ---------> *EMPTY RESULT *
> *
> *
> *So installed rubyXL with the below command ...*
> *
> *
> Fetching: rubyXL-1.2.10.gem (100%)
> Successfully installed rubyXL-1.2.10
> 1 gem installed
>
> *Ruby version :*
> *$ which ruby*
> /Users/mselv2/.rvm/rubies/jruby-1.7.4/bin/ruby
>
> *Error while running ex.rb after installed the rubyXL*
>
> $ ruby ex.rb
> NameError: uninitialized constant RubyXL
> const_missing at org/jruby/RubyModule.java:2631
> (root) at /Users/mselv2/ruby_Code/rubyXL.rb:3
> require at org/jruby/RubyKernel.java:1054
> (root) at
> /Users/mselv2/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1
> (root) at ex.rb:1
>
>
> Please let me should i do any thing and let me know if you required
> additional information to solve the issue ?
>
> Thanks ,
> Muthu Selvan SR
>
>
> On Saturday, 29 June 2013 11:50:55 UTC-7, Norbert Melzer wrote:
>>
>> Am Fri, 28 Jun 2013 17:44:29 -0700 (PDT)
>> schrieb Muthu Selvan <pearl....@gmail.com <javascript:>>:
>>
>> >
>> > Hi ,
>> >
>> > I am trying to read excel sheet from Ruby so i have installed
>> > RubyXL ( sudo gem install rubyXL ) .
>> >
>> > After installed successfully , I am running with the below source
>> > code , but its giving error
>> >
>> > mselv2m1:ruby_Code mselv2$ ruby ex.rb
>> > * ./rubyXL.rb:3: uninitialized constant RubyXL (NameError) *
>> > from ex.rb:1:in `require'
>> > from ex.rb:1
>> >
>> >
>> > *//Source Code : *
>> > cat ex.rb
>> > require 'rubyXL'
>>
>> Your example works very well for me, or at least I don't get any error
>> messages when I run that oneliner.
>>
>> But I took a quick look over at rubygems.org, and had seen, that there
>> are some dependencies as development deps only, which I think that
>> should be full-deps (nokogiri for XML and rubyzip for unzipping that
>> docx stuff), but also I don't think that this is really the problem…
>>
>> Please check first, if rubyXL is installed correctly:
>>
>> $ gem list | grep rubyXL
>>
>> If not, try installing again and post the full output of the install
>> command to the list, also please tell us if you are using rvm,
>> rbversion or similar tools or the default ruby of your system package
>> management system.
>>
>> In any case tell us the version of ruby and ruby gems you are using.
>>
>> > Thanks ,
>> > Muthu Selvan SR
>> >
>> >
>> >
>>
>>

--
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/op.wzg5l5lhrqdk4p%40administrators-macbook-pro.local.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Walter Davis wrote in post #1113937:
> Does that file exist at either of the sub-paths indicated, or not? If
> not, move it there, or create it there. Check also that you may have a
> folder called 'salutations' (plural) and you may have written
> salutation/hello in your view or controller (wherever you called
> render).
>
> Walter

Dear Walter,

Thank your help.

--
Posted via http://www.ruby-forum.com/.

--
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/533d4fe6f6692d183adfa3ecdc082176%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

sudo gem install rubyXL ---------> EMPTY RESULT 

So installed rubyXL with the below command ...

Fetching: rubyXL-1.2.10.gem (100%)
Successfully installed rubyXL-1.2.10
1 gem installed

Ruby version :
$ which ruby
/Users/mselv2/.rvm/rubies/jruby-1.7.4/bin/ruby

Error while running ex.rb after installed the rubyXL

$ ruby ex.rb 
NameError: uninitialized constant RubyXL
  const_missing at org/jruby/RubyModule.java:2631
         (root) at /Users/mselv2/ruby_Code/rubyXL.rb:3
        require at org/jruby/RubyKernel.java:1054
         (root) at /Users/mselv2/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1
         (root) at ex.rb:1


Please let me should i do any thing and let me know if you required additional information to solve the issue ?

Thanks ,
Muthu Selvan SR


On Saturday, 29 June 2013 11:50:55 UTC-7, Norbert Melzer wrote:
Am Fri, 28 Jun 2013 17:44:29 -0700 (PDT)
schrieb Muthu Selvan <pearl....@gmail.com>:

>
> Hi ,
>
>    I am trying to read excel sheet from Ruby so i have installed
> RubyXL ( sudo gem install rubyXL ) .
>  
>    After installed successfully , I am running with the below source
> code , but its giving error  
>
>    mselv2m1:ruby_Code mselv2$ ruby ex.rb
> *  ./rubyXL.rb:3: uninitialized constant RubyXL (NameError) *
> from ex.rb:1:in `require'
> from ex.rb:1
>
>
> *//Source Code : *
> cat ex.rb
> require 'rubyXL'

Your example works very well for me, or at least I don't get any error
messages when I run that oneliner.

But I took a quick look over at rubygems.org, and had seen, that there
are some dependencies as development deps only, which I think that
should be full-deps (nokogiri for XML and rubyzip for unzipping that
docx stuff), but also I don't think that this is really the problem…

Please check first, if rubyXL is installed correctly:

$ gem list | grep rubyXL    

If not, try installing again and post the full output of the install
command to the list, also please tell us if you are using rvm,
rbversion or similar tools or the default ruby of your system package
management system.

In any case tell us the version of ruby and ruby gems you are using.

> Thanks ,
> Muthu Selvan SR
>
>
>

--
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/806110a6-4d5a-4d74-8c45-8005a1ff29f7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

It's probably worth mentioned that this was done in an config.to_prepare block:



On Sat, Jun 29, 2013 at 4:32 PM, Dave Aronson <googlegroups2dave@davearonson.com> wrote:
On Sat, Jun 29, 2013 at 4:00 AM, Walter McGinnis
<walter.mcginnis@gmail.com> wrote:

> In my experience with Rails 2.3, you need to add your I18n.load_path.

This is for 3.2, but since nobody has come forth with an "Oh, yeah,
just stick it in
lib/$GEMNAME/magic/locales/loadme/whizbang/$LANGUAGE.yml and it'll get
slurped right up", I ass-u-me'd that was still the case.  I put it in
config/locales/en.yml like the gem author said to do, added that dir
to the load_path, and it works fine.

Thanks,
Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
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/CAHxKQihgv%3D8ABRHGPWjCO4Wd27YHgD%3DVxqtFgWhTn6Lk4k%2B1Nw%40mail.gmail.com.

--
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/CAFMw9LTwG7tf5ifH0KDbK3g-L65jFhYCdmzt0HNiJhuwKVgupQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

On Sat, Jun 29, 2013 at 4:00 AM, Walter McGinnis
<walter.mcginnis@gmail.com> wrote:

> In my experience with Rails 2.3, you need to add your I18n.load_path.

This is for 3.2, but since nobody has come forth with an "Oh, yeah,
just stick it in
lib/$GEMNAME/magic/locales/loadme/whizbang/$LANGUAGE.yml and it'll get
slurped right up", I ass-u-me'd that was still the case. I put it in
config/locales/en.yml like the gem author said to do, added that dir
to the load_path, and it works fine.

Thanks,
Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
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/CAHxKQihgv%3D8ABRHGPWjCO4Wd27YHgD%3DVxqtFgWhTn6Lk4k%2B1Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlHPLJAACgkQmStwlOckyZmg2AD/dL7CH/hqvtHvPUzlgGp2TZhU
um+e60rV3wu8ThGCrrUA/RnWkVDDxSmKfBDWY1R3KoGTwN9pKSDpgUoXrZNHFT7A
=yY6i
-----END PGP SIGNATURE-----
Am Fri, 28 Jun 2013 17:44:29 -0700 (PDT)
schrieb Muthu Selvan <pearl.selvan@gmail.com>:

>
> Hi ,
>
> I am trying to read excel sheet from Ruby so i have installed
> RubyXL ( sudo gem install rubyXL ) .
>
> After installed successfully , I am running with the below source
> code , but its giving error
>
> mselv2m1:ruby_Code mselv2$ ruby ex.rb
> * ./rubyXL.rb:3: uninitialized constant RubyXL (NameError) *
> from ex.rb:1:in `require'
> from ex.rb:1
>
>
> *//Source Code : *
> cat ex.rb
> require 'rubyXL'

Your example works very well for me, or at least I don't get any error
messages when I run that oneliner.

But I took a quick look over at rubygems.org, and had seen, that there
are some dependencies as development deps only, which I think that
should be full-deps (nokogiri for XML and rubyzip for unzipping that
docx stuff), but also I don't think that this is really the problem…

Please check first, if rubyXL is installed correctly:

$ gem list | grep rubyXL

If not, try installing again and post the full output of the install
command to the list, also please tell us if you are using rvm,
rbversion or similar tools or the default ruby of your system package
management system.

In any case tell us the version of ruby and ruby gems you are using.

> Thanks ,
> Muthu Selvan SR
>
>
>

Ruby on Rails

Does that file exist at either of the sub-paths indicated, or not? If not, move it there, or create it there. Check also that you may have a folder called 'salutations' (plural) and you may have written salutation/hello in your view or controller (wherever you called render).

Walter

On Jun 29, 2013, at 11:32 AM, Raphael P. wrote:

> Template is missing
> Missing template salutation/hello, application/hello with
> {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw,
> :ruby, :jbuilder, :coffee]}. Searched in: *
> "C:/Users/RAPHAEL/hello/app/views"
>
>
>
> How can I solve this problem ?
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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/69b00cfddbccda0cd90b8aff449a5dbe%40ruby-forum.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
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/B7208FC6-5A0A-46BB-93F8-32BC023D0468%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Hi All 

I have tried my best to solve this issue but no luck for me ..

Kindly help me to solve this issue , this is seem to be some environmental issue .

Thanks ,
Muthu Selvan SR

On Friday, 28 June 2013 17:44:29 UTC-7, Muthu Selvan wrote:

Hi ,

   I am trying to read excel sheet from Ruby so i have installed RubyXL ( sudo gem install rubyXL ) .
 
   After installed successfully , I am running with the below source code , but its giving error  

   mselv2m1:ruby_Code mselv2$ ruby ex.rb 
  ./rubyXL.rb:3: uninitialized constant RubyXL (NameError) 
from ex.rb:1:in `require'
from ex.rb:1


//Source Code : 
cat ex.rb 
require 'rubyXL' 

Thanks ,
Muthu Selvan SR



--
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/26618b8e-4b6b-4b30-84c2-54382639ec0d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Template is missing
Missing template salutation/hello, application/hello with
{:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw,
:ruby, :jbuilder, :coffee]}. Searched in: *
"C:/Users/RAPHAEL/hello/app/views"



How can I solve this problem ?

--
Posted via http://www.ruby-forum.com/.

--
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/69b00cfddbccda0cd90b8aff449a5dbe%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5

List of all gems installed:
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format (0.2.3)
prawn-layout (0.3.2)
prawn-security (0.1.1)
rack (1.5.2, 1.0.1)
rack-protection (1.5.0)
rails (2.3.5)
rake (0.8.7)
rbx-require-relative (0.0.9)
rest-client (1.6.7)
rush (0.6.8)
searchlogic (2.5.14)
session (3.1.0)
sinatra (1.4.3)
tilt (1.4.1)
win32-api (1.4.8)
win32-open3 (0.3.2)
win32-service (0.8.0)
windows-api (0.4.2)
windows-pr (1.2.2)
    Installed at: C:/Ruby187/lib/ruby/gems/1.8


When running rake db:create it is giving the following error:

E:\RubyonRails\Fedena\Fedena>rake db:create --trace
(in E:/RubyonRails/Fedena/Fedena)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:create
rake aborted!
undefined method `[]' for nil:NilClass
C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/databases.rake:55:in `cr
eate_database'
C:/Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/databases.rake:31
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_cal
l_chain'
C:/Ruby187/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_cal
l_chain'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excep
tion_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_excep
tion_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Ruby187/bin/rake:19:in `load'
C:/Ruby187/bin/rake:19

And the mysql server is running status of which is :
C:\Program Files\MySQL\MySQL Server 5.0\bin\mysql.exe  Ver 14.12 Distrib 5.0.90,
 for Win32 (ia32)

Connection id:          2
Current database:
Current user:           root@localhost
SSL:                    Not in use
Using delimiter:        ;
Server version:         5.0.90-community-nt MySQL Community Edition (GPL)
Protocol version:       10
Connection:             localhost via TCP/IP
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    utf8
Conn.  characterset:    utf8
TCP port:               3306
Uptime:                 3 hours 58 min 14 sec

Threads: 1  Questions: 17  Slow queries: 0  Opens: 12  Flush tables: 1  Open tab
les: 0  Queries per second avg: 0.001


My database.yml reads like this and is saved in UTF8 format:

development:
      host: localhost
      adapter: mysql
      database: fedena_dev
      port: 3306
      username: root
      password: asd@123

test: &test
      host: localhost
      adapter: mysql
      database: fedena_test
      port: 3306
      username: root
      password: asd@123

production:
      host: localhost
      adapter: mysql
      database: fedena_prod
      port: 3306
      username: root
      password: asd@123
cucumber:
  <<: *test


Warm Regards,
Dipanjan.
 


--
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/b2bfb3b4-cb09-4fa7-ac25-78349813cd54%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

Hi I am using amazon sdk to upload file. Now I want to check that file is uploaded correctly and not corrupted. I have tried etag and compared with checksum created locally. It works as well but some how I have found that sometime etag in not representing correctly. So there is another method by passing metadata while writing object. I have found that method but don't know how would I know that it correctly uploaded. How to check what response s3 has set so that I can know its uploaded successfully.



Thanks,
Anand Soni 

--
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/CAL9wd7c2jHwe%2BawLaQwwUDaANoc-GKpEeJphf%2BmC9%3DfxKT4iag%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

has_secure_password has a method authenticate to authenticate users
using bcrypt. In secure_password.rb file I found the following lines
(from github):

def authenticate(unencrypted_password)
BCrypt::Password.new(password_digest) == unencrypted_password &&
self
end

BCrypt::Password.new(password_digest) == unencrypted_password is clear.

Q1: Can anyone explain why the result of
BCrypt::Password.new(password_digest) == unencrypted_password is ANDed
with 'self'?

Q2: Since authenticate becomes an instance method of a class, for
instance,User and so an instance method of, say, object user, self must
be equal to (the current object) `user'. Am I right?

--
Posted via http://www.ruby-forum.com/.

--
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/12477cafe9750f1f8dc15d12e1a49263%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

In my experience with Rails 2.3, you need to add your I18n.load_path. Here's my creaky old example:




On Fri, Jun 28, 2013 at 12:07 PM, Dave Aronson <googlegroups2dave@davearonson.com> wrote:
I need a pinch of help on internationalizing a gem.  (Google Search
thinks I want help on an internationalization gem, not the same
thing.)

The question is, what is the accepted standard way to include
$LANGUAGE.yml files in a gem, and get I18n to acknowledge it?

From looking at a few other gems I'm using, it looks like the usual
way is to put it in lib/$GEMNAME/locale/$LANGUAGE.yml, or possibly
config/locales (plural despite the other being singular, go fig).
Either way, though, I don't see how it then gets picked up by I18n.
(I've tried just putting it there and neither seems to work.)  I
could, in lib/$GEMNAME.rb or some such, add it to I18n.load_path.
However, that seems rather brute-force, and like the kind of thing
that there's probably already a convention for getting it done
automagically, at least for Rails apps if not Ruby.

Or maybe I'm going about the whole setup the wrong way.  Gemfile has:

gem '$GEMNAME', :git => 'davearonson/$GEMNAME', :branch =>
'add-missing-translations'

(since I'm doing this in a Github-based fork of someone else's
existing gem) and I've done:

bundle config local.$GEMNAME ~/path/to/project/$GEMNAME/

from the command line, and I'm doing this work in that directory.  The
Rails app itself is in a *parallel* directory,
~/path/to/project/$RAILSAPP.  The other gems are down under vendor
(bundle install --path vendor); would it work better if I put this one
down there with them?  Putting garbage in lib/$GEMNAME.rb does make
Rails barf, so I know Rails is picking up the gem from the right
place.  Did I maybe miss some step?

(And before someone says "well you shouldn't be using a variable
there, put the actual name", I'm just using $GEMNAME as a placeholder
in this message; for real, I did actually use the real gem name.)

Thanks,
Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
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/CAHxKQig9WxwrmhwOuR916ukPPPqfA8gTeqa43n8qm3L0A4_GaA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
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/CAFMw9LRu13GOaHbubHxjgtP7OpTcjz5eh71tz527gE0gWtx04g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails Friday, June 28, 2013

already reinstalled, still that warning


On Sat, Jun 29, 2013 at 12:03 PM, Tamara Temple <tamouse.lists@gmail.com> wrote:
William Herry <WilliamHerryChina@Gmail.com> wrote:
> I always get this message today
>
> WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0

I'm not sure, but it sounds like you need to reinstall nokogiri so it
rebuilds native extensions.

--
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/51ce5c8c.aa6d320a.4e4b.5f0d%40mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
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/CAO1cLnxFW2c%2Bm6e8X2Q4hMuKimdC9ezRqzJqXg0K1RzDqp80MA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.