Displaying 3 results from an estimated 3 matches for "handyrailstips".
2009 Jul 30
6
How can I change member action names on routes?
I have some controllers with member/collection actions. I want to change
the name of those actions on the routes, so I can translate the action
"/search" to German, for example. How can I do it? I will appreciate any
help.
--
Posted via http://www.ruby-forum.com/.
2009 Jul 20
9
rake error
When I run rake test:units I get this error:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
This error just showed up yesterday --- I have no idea how I caused
it. Here is my gem list in case that helps:
actionmailer (2.3.2, 2.2.2)
actionpack (2.3.2, 2.2.2)
activerecord (2.3.2, 2.2.2)
2009 Jun 26
1
rSpec Newbie Question - Testing controller
Hi
I am very new to rspec and would like to learn more. I have googled
around and asked in irc with no firm answers.
I have the following controller :
class ProductsController < ApplicationController
before_filter :loadsidebar
def show
@category = Category.find(params[:id])
@products = @category.products
end
private
def loadsidebar