Patch for Fiveruns Tuneup on Merb 1.0.11


/ Published in: Diff
Save to your folder(s)



Copy this code and paste it in your HTML
  1. diff -r fiveruns_tuneup_merb-0.5.3/lib/fiveruns_tuneup_merb/instrumentation.rb fiveruns_tuneup_merb-0.5.3.updated/lib/fiveruns_tuneup_merb/instrumentation.rb
  2. 170c170
  3. < FiverunsTuneupMerb::Instrumentation.format_sql(query, adapter.send(:update_statement, query), attributes),
  4. ---
  5. > FiverunsTuneupMerb::Instrumentation.format_sql(query, adapter.send(:update_statement, attributes.keys, query), attributes),
  6. diff -r fiveruns_tuneup_merb-0.5.3/lib/fiveruns_tuneup_merb.rb fiveruns_tuneup_merb-0.5.3.updated/lib/fiveruns_tuneup_merb.rb
  7. 5,6c5,6
  8. < load_dependency 'merb-slices'
  9. < load_dependency 'fiveruns_tuneup_core'
  10. ---
  11. > load_dependency 'merb-slices', nil
  12. > load_dependency 'fiveruns_tuneup_core', nil

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.