[Rails] Re: Parallelizing Tasks in the Background

2013-10-06 Thread Gjaldon
Hi Phil, Sidekiq sounds like the gem you need. It does background processing using threads so you get true parallelism. You would need an implementation of Ruby though that can support true parallelism like Rubinius or JRuby. Ruby MRI has the GIL so it can't do true multithreaded processing.

[Rails] Re: Why Did Capybara Move Specs into spec/features?

2013-03-31 Thread Gjaldon
Here's a post by Jose Valim on the reasoning behind the change: http://blog.plataformatec.com.br/2012/06/improving-the-integration-between-capybara-and-rspec/ As a quick summary, Capybara is an acceptance test framework and as such, tests should be written from a browser or user's perspective. Wi

[Rails] SO Question: Data saved in ActiveRecord model is incorrect

2013-03-12 Thread Gjaldon
Been having trouble saving data in an ActiveRecord model that came from a Mongoid model. Would be great if anyone could help. I posted the question at StackOverflow: http://stackoverflow.com/questions/15363117/saving-data-in-an-activerecord-model-from-a-mongoid-model -- You received this messag

[Rails] StackOverflow Question: Need help with my Rspec Request Spec!

2013-02-28 Thread Gjaldon
Hi all, Any help would be much appreciated. Please see question posted on SO: http://stackoverflow.com/questions/15137336/devise-authentication-not-working-in-test-environment-with-rspec-request-spec-an -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] What's wrong with my spec? (StackOverflow Question)

2013-02-10 Thread Gjaldon
Hi all, I just posted a question on SO and it would be great if you guys could help out. http://stackoverflow.com/questions/14795829/devise-rspec-user-requires-account-activation-in-requests-spec-even-after-con Cheers! -- You received this message because you are subscribed to the Google Group

[Rails] Re: can't run webrick server

2012-03-13 Thread Gjaldon
I'm new too. Anyway, how 'bout trying 'bundle exec rails s'. On Mar 12, 7:54 pm, satvat rani wrote: > The environment that i am working on is Windows xp and the > configurations are, > > Ruby 1.8.7 [i386-mingw32] > Rails 2.3.5 > Gem 1.8.17 > > run -->ruby script/server > > these errors are occur:

[Rails] Can't Use SQLITE3 as Rails Server

2012-03-06 Thread Gjaldon
Hi all, Need some help with setting my rails server as sqlite3. I'm currently following the 2nd exercise in the book 'Pragmatic Agile Web Development with Rails 4th Edition'. The sample apps are all ran using the sqlite3 server but can't seem to start it when I run the command 'rails server sqlite