Advertisement
kruk

April Meetup

Apr 29th, 2014
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. ====== API
  2. ActiveModel::Serializer
  3.  
  4. each_serializer: MeetupSerializer
  5.  
  6. WebMock
  7. VCR
  8.  
  9. ======= DSL
  10. instance_eval(&block)
  11. https://github.com/byplayer/meetup_config
  12. https://github.com/byplayer/meetup_config_ex
  13.  
  14. ======= Tips
  15.  
  16. Timecop - controlling time in rspec
  17.  
  18. binding.pry- stop execution at given point
  19. wtf? - most recent exception
  20. whereami - which line/file
  21. cd variable_name - enter variable (can ls afterwards)
  22.  
  23. params[:type].classify.constantize
  24. brakeman - security evaluation
  25. semaphoreapp.com - continuous integration
  26. cane - code complexity and style evaluation
  27.  
  28. .cane
  29. --color
  30. --abc-max 41
  31. --abc-glob {app,lib,config/initializers}/**/*.rb
  32. --style-measure 120
  33. --no-doc
  34.  
  35. ======== Random
  36. http://rubyrogues.com/131-rr-how-to-learn/ - How To Learn
  37. http://hbs1963.com/ - If I Knew Then
  38.  
  39. ======== Winston
  40. Asakusa.rb
  41. Check out Aaron Patterson + Ebi, Koichi Sasada + Yuki
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement