five gems
DESCRIPTION
Five Gems lightning talk for BostonRB Project Night.TRANSCRIPT
![Page 1: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/1.jpg)
Five gems I like a little bit.Jeremy WeiskottenTerrible Labs@doctorzaius
Wednesday, February 6, 13
![Page 2: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/2.jpg)
zeus
Wednesday, February 6, 13
![Page 3: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/3.jpg)
zeus
• Preloads your Rails app
• Lets you start the server, console, or rake task, or run a generator, in less than a second!
• Kind of like spork, only way better and not intrusive
Wednesday, February 6, 13
![Page 4: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/4.jpg)
zeus•$ zeus start
•$ zeus server
•$ zeus console
•$ zeus test
•$ zeus generate
•$ zeus rake
Don’t put zeus in your Gemfile!
Wednesday, February 6, 13
![Page 5: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/5.jpg)
active_hash
Wednesday, February 6, 13
![Page 6: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/6.jpg)
active_hash
• Read-only data source
• Acts like ActiveRecord
• Data that’s not really data
• types
• units
• constanty things
Wednesday, February 6, 13
![Page 7: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/7.jpg)
active_hash
Wednesday, February 6, 13
![Page 8: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/8.jpg)
active_hash
Wednesday, February 6, 13
![Page 9: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/9.jpg)
active_hash
Wednesday, February 6, 13
![Page 10: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/10.jpg)
simple_form
Wednesday, February 6, 13
![Page 11: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/11.jpg)
simple_form
Wednesday, February 6, 13
![Page 12: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/12.jpg)
simple_form
Custom field types are simple too!
Wednesday, February 6, 13
![Page 13: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/13.jpg)
Twitter Boostrap Style
Wednesday, February 6, 13
![Page 14: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/14.jpg)
simple_form
Wednesday, February 6, 13
![Page 15: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/15.jpg)
redcarpet
Wednesday, February 6, 13
![Page 16: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/16.jpg)
redcarpet
# This is a heading
## And a subheading
Best paragraph ever!
Another paragraph! With **important** [links](http://haml.info).
* Item 1* Item 2* Item 3
Renders markdown, which is awesome
Wednesday, February 6, 13
![Page 17: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/17.jpg)
Haml + Redcarpet = ♥
• Haml is great for structure
• But “Haml sucks for content”http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content/
• Use Haml’s :markdown filter with a markdown processor like Redcarpet for maximum winnings
Wednesday, February 6, 13
![Page 18: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/18.jpg)
Haml sucking
Wednesday, February 6, 13
![Page 19: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/19.jpg)
Haml not sucking
Wednesday, February 6, 13
![Page 20: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/20.jpg)
better_errors
Wednesday, February 6, 13
![Page 21: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/21.jpg)
better_errors
• Error pages don’t suck any more
• Only add to your Gemfile’s development group!
Wednesday, February 6, 13
![Page 22: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/22.jpg)
better_errors
Sssshhh... a bonus gem!
Wednesday, February 6, 13
![Page 23: Five gems](https://reader034.vdocuments.mx/reader034/viewer/2022042623/54842580b47959050d8b4b18/html5/thumbnails/23.jpg)
better_errors
LIVE DEMONSTRATION
Wednesday, February 6, 13