Date post: | 05-Dec-2014 |
Category: |
Technology |
Upload: | jeremyw |
View: | 918 times |
Download: | 5 times |
Five gems I like a little bit.Jeremy WeiskottenTerrible Labs@doctorzaius
Wednesday, February 6, 13
zeus
Wednesday, February 6, 13
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
zeus•$ zeus start
•$ zeus server
•$ zeus console
•$ zeus test
•$ zeus generate
•$ zeus rake
Don’t put zeus in your Gemfile!
Wednesday, February 6, 13
active_hash
Wednesday, February 6, 13
active_hash
• Read-only data source
• Acts like ActiveRecord
• Data that’s not really data
• types
• units
• constanty things
Wednesday, February 6, 13
active_hash
Wednesday, February 6, 13
active_hash
Wednesday, February 6, 13
active_hash
Wednesday, February 6, 13
simple_form
Wednesday, February 6, 13
simple_form
Wednesday, February 6, 13
simple_form
Custom field types are simple too!
Wednesday, February 6, 13
Twitter Boostrap Style
Wednesday, February 6, 13
simple_form
Wednesday, February 6, 13
redcarpet
Wednesday, February 6, 13
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
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
Haml sucking
Wednesday, February 6, 13
Haml not sucking
Wednesday, February 6, 13
better_errors
Wednesday, February 6, 13
better_errors
• Error pages don’t suck any more
• Only add to your Gemfile’s development group!
Wednesday, February 6, 13
better_errors
Sssshhh... a bonus gem!
Wednesday, February 6, 13
better_errors
LIVE DEMONSTRATION
Wednesday, February 6, 13