search for: railsconsult

Displaying 7 results from an estimated 7 matches for "railsconsult".

2007 Apr 06
3
Mocking Authentication
Is anyone using Restful Authentication? If so, how are you mocking the login for your controllers? I''m having trouble with it and would love an example of someone''s login. I''m sure I''m missing something simple. Michael railsconsulting.com
2007 Mar 28
14
Autotest
Is anyone using rspec with autotest? Scott
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to set up typo so that it also works (with a different url). I have 4 URLs running -- let''s call them foo.com, bar.com, www.typo.com and php.typo.com I am starting lighttpd by going into the directory where my foo.com app is and typing either ruby script/server or script/server -e production -- either
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Jan 12
10
Take Rails Studio Workshop?
In two weeks, Dave Thomas will be in Pasadena doing a three-day Rails workshop. I''m about to sign up for it. I figure three intense days with Dave and a few dozen other Rails developers will produce huge learning leaps for me. Then it occurred to me that it might be useful to ask the list if anyone has attended one of these workshops before and, if so, how valuable you found
2007 Apr 09
7
RCov results seem to include the spec files
I saw the RCov page at http://rspec.rubyforge.org/tools/rcov.html and decided to add it to my project. My rakefile looks like this: require "rake" require "spec/rake/spectask" desc "Run all specs with RCov" Spec::Rake::SpecTask.new("spec:rcov") do |t| t.spec_files = FileList["spec/**/*_spec.rb"] t.rcov = true end When I run rake spec:rcov,
2007 Apr 11
12
redirection doesn''t get detected well?
I''m doing a redirect in one of my controller actions and somehow I can''t spec it, see this pastie: http://pastie.caboo.se/53120. When following the link from a browser I''m being redirected to the right page. -------------- next part -------------- An HTML attachment was scrubbed... URL: