I recently start using JRuby in my Rails 2.3 webapp. Since then, I have been experiencing slowness in my rspec tests... the test are taking too long to run since I switched to JRuby.
I am trying to implement a groups feature similar to that of Facebook in my project. I am using Rails 2.0.2 and Ruby 1.8.7 for project specific purposes. I am using Ubuntu 10.04 OS.
I\'ve been trying to develop a controller action for user authentication so I can do something like this:
I\'m having some trouble setting up capybara (0.4.1.2) in a rails 2.3.8 app with Rspec 1.3From the installation capybara instructions, I\'ve inserted the line:
I\'m fixing some mass assignment vulnerabilities in a client\'s application and I want to make sure Rails isn开发者_如何学Go\'t silently dropping attempts to mass assign protected attributes. Instead,
I am using a Rails app as an JSON API service. There is one field that can either hold one or two strings. Below is how I\'m creating this JSON element in the .xml.builder file, getting the informatio
I have an app, which implements a group feature. Each group has n members. Also, each group has a group specific profile pic to it.
I have a default time zone setup for the rails application. And an instance of the Date object. How can I get make Date#beginning_of_day to return the beginning of the day in the specified time zone,
We are using Sinatra to provide HTTP API access to our service, while most of the user-facing functionality uses Rails 2.3.8. Both the Sinatra and the Rails application share the same ActiveRecord mod
I want to test the permalink action in my articles controller, which is using a named route (/permalink/terms-of-use):