RailsCasts Pro episodes are now free!

Learn more or hide this

Adam Sokolnicki's Profile

GitHub User: asok

Comments by Adam Sokolnicki

Avatar

@Ponyo Blue
   
  reflect_on_association(association)

returns nil, make sure that 'association' variable holds correct name of the association for your model.

Espero que entiendes. Mi espanol no es bastante buen.

Avatar

Here is a nice solution how to test an app with subdomains using rspec http://stackoverflow.com/questions/2556627/rails-rspec-set-subdomain