RailsCasts Pro episodes are now free!

Learn more or hide this

Ben Fischer's Profile

GitHub User: benedictfischer09

Comments by Ben Fischer


I'm not sure if I'm thinking this through correctly. Would people agree that ProductField names should not be update-able. In the serialized hash the key would remain what it was originally as, so unless the developer goes back and sanitizes all of the product properties in the database, or adds some method_missing translations to the ProductType class a back end client name update would break all of the existing products of that type. Maybe?


This was really helpful, just one typo in the ASCIIcast that was a gotcha for me when I copy and pasted.

CONFIG.merge! config.fetch(Rails.env, {})

should be

CONFIG.merge! CONFIG.fetch(Rails.env, {})