Displaying 4 results from an estimated 4 matches for "swimcommunity".
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2007 Oct 20
14
Problems with form_for and partials
i''m having problem with a form_for situation where i''m trying to DRY
out the repeated parts of my forms and put them in common/form and
render the form elements via another partial in controller_name/_form.
Here''s the first form
# app/views/common/form
<% form_for ... do |f| -%>
<%= render :partial => "params[:controller]/form", :object => f
2006 Jul 11
2
Bad Client Errors
I''ve gone through the mailing list archives and looked through all the docs
I could find but I still can''t figure out exactly what''s going on with my
Mongrel that it gives the following error:
[Timestamp]: BAD CLIENT (127.0.0.1): Invalid HTTP format, parsing fails
I''m running Cygwin 1.5.20-1, Ruby 1.8.4, and WinXP. I''d appreciate any help
on getting
2007 Oct 19
11
Patch idea for rspec_on_rails
I recently wrote a matcher for testing AR associations which allows
you to specify things like:
Foo.should have_many(:bars).through(:bazes)
I''m pretty darned proud of it and a couple of people have suggested
that I should submit it to the rspec_on_rails project. Before I go to
the trouble of writing out rdoc and fully spec''ing it, I just wanted
to make sure this was