Michael Grosser's blog



Michael GrosserMichael Grosser
Standup 01/19/2012: Dont stretch those cables
edit Posted by Michael Grosser on Thursday January 19, 2012 at 09:16AM

Ask for Help

How to scrub production data

  • try my_obfuscate
  • use handcrafted update-all sql

Interesting Things

  • Do not stretch monitor cables, they make the ports break
  • MySql: Different os have different rules on table case sensitivity(My_Table <-> my_table), be strict or you get into trouble
  • validates_acceptance_of can crash your asest:precompile on heroku (because it uses the db when loaded, but db is not yet ready), least hacky solution: validates_acceptance_of xxx unless ENV['RAILS_ASSETS_PRECOMPILE']

Michael GrosserMichael Grosser
Standup 01/18/2012: Scream
edit Posted by Michael Grosser on Wednesday January 18, 2012 at 09:15AM

Ask for Help

Enunciate

Adam cant hear you, speak up!

Job chaining in resque

Start the next after the first finishes or create a big wrapper job that does all of them

Inherited resource

Change objects before rendering -- no good answer found

Interesting Things

  • Dynamo DB from AWS is out, aparently its faster then simpledb
  • SOPA protest today, if you need wiki, try to disable javascript or go to mobile
  • June 6th is IPV6 day (all IPV4 gets switched off ;) )