Matt Fawcett
web Developer · Not a member
Matt Fawcett's latest activity
Saturday, January 22 2011
6324
Rails 3.0.3 has many#create does not create a record
was updated
in Ruby on Rails
-
Matt Fawcett commented at 5:59 PMThis won't be a Rails problem. Its likely that
new_table.attributesis returning a hash which has a key:organizing_city_idwith a value ofnil, causing the tab...
6318
Rails 3.0.3 --skip-test-unit not working correctly.
was updated
in Ruby on Rails
-
Matt Fawcett commented at 1:46 AMIts adding the test folder for me also because
config.generators.test_frameworkdoes not get set in the application.rb file. It looks like it was fixed in commi...
Saturday, January 08 2011
6260
Custom response headers
was updated
in Ruby on Rails
-
Matt Fawcett commented at 5:22 PMThis works for me in a fresh rails 3.0.3 app:
Controller
class PeopleController < ApplicationController def index response.headers["Headertitle"]="Header...
6263
[PATCH] Skip XML support in scaffold generator
was updated
in Ruby on Rails
-
- Title changed from Skip XML support in scaffold generator to [PATCH] Skip XML support in scaffold generator
Friday, January 07 2011
6263
Skip XML support in scaffold generator
was updated
in Ruby on Rails
-
- Tag changed from generators, rails3, scaffolding to generators, patch, rails3, scaffolding
Lighthouse doesn't seem to want to allow me to upload a patch. For now its at http://matthewfawcett.co.uk/6263-v1.diff
-
Matt Fawcett created the ticket at 6:51 PMThe actions in a scaffolded controller respond with both XML and HTML. In most cases XML is not required and the code is never used or has to be deleted. I prop...