blog.animascodelabs.com
Add syntax highlighting to your emails
http://blog.animascodelabs.com/2014/09/22/add-syntax-highlighting-to-your-e-mails
Add syntax highlighting to your emails. Is a Google Chrome, Firefox, Safari, Opera, and Thunderbird extension that lets you write email in Markdown and render it before sending. It also supports syntax highlighting (just specify the language in a fenced code block). Also, it has some extra-special powers that help you to do things that are almost impossible in ordinary email editors like formatted tables, source code snippets, and even mathematical formulae. Here is the link to the git repo.
blog.animascodelabs.com
activerecord - Animas Code Labs
http://blog.animascodelabs.com/tag/activerecord
Page 1 of 1. Eager-loading Polymorphic Relationships in Rails. Update: The internal Preloader class has changed between Rails 3 and Rails 4. The code examples have been updated to reflect that. ActiveRecord has some great ». Page 1 of 1. Proudly published with Ghost.
blog.animascodelabs.com
ruby - Animas Code Labs
http://blog.animascodelabs.com/tag/ruby-2
Page 1 of 1. Eager-loading Polymorphic Relationships in Rails. Update: The internal Preloader class has changed between Rails 3 and Rails 4. The code examples have been updated to reflect that. ActiveRecord has some great ». Page 1 of 1. Proudly published with Ghost.
blog.animascodelabs.com
ruby - Page 1 - Animas Code Labs
http://blog.animascodelabs.com/tag/ruby
Page 1 of 1. Building Workflows with Sidekiq Batches. A few weeks ago, Sidekiq's creator, Mike Perham, posted a great article about how to handle Really Complex Workflows with Batches. His article shows how you ». Customizing rails #to partial path. Rails is very helpful when it comes to automatically rendering a partial for a given object. % @startups.each do startup % %= render startup % ». Building a Range that counts backward. Page 1 of 1. Proudly published with Ghost.
blog.animascodelabs.com
Eager-loading Polymorphic Relationships in Rails
http://blog.animascodelabs.com/2014/10/30/preloading-polymorphic-relationships-in-rails
Eager-loading Polymorphic Relationships in Rails. Update: The internal Preloader class has changed between Rails 3 and Rails 4. The code examples have been updated to reflect that. ActiveRecord has some great utilities for eager loading associations to solve the N 1 query problem. Take, for example, the following code to print a list of sellers' email addresses in an online marketplace:. Listings = Listing.limit(10) listings.each do listing puts listing.seller.email end. However, using ActiveRecord's.
blog.animascodelabs.com
Building a Range that counts backward
http://blog.animascodelabs.com/2014/09/20/build-a-ruby-range-that-counts-down
Building a Range that counts backward. We needed a select box to allow dealers to enter the model year of a bike. The select box should have upcoming model year through 15 years in the past, descending. We are using the simple form. Gem with our project, so our first try went something like this. Simple form for @bike do f % %= f.input :year, collection: ( Date.today.year 1).(Date.today.year - 15) % end %. Unfortunately, that gave us an empty drop-down. And ran our command. Since it talked about a method...
blog.animascodelabs.com
markdown - Animas Code Labs
http://blog.animascodelabs.com/tag/markdown
Page 1 of 1. Add syntax highlighting to your emails. Markdown-Here is a Google Chrome, Firefox, Safari, Opera, and Thunderbird extension that lets you write email in Markdown and render it before sending. It also supports ». Page 1 of 1. Proudly published with Ghost.
blog.animascodelabs.com
Jason Sutter - Animas Code Labs
http://blog.animascodelabs.com/author/jason
Page 1 of 1. Add syntax highlighting to your emails. Markdown-Here is a Google Chrome, Firefox, Safari, Opera, and Thunderbird extension that lets you write email in Markdown and render it before sending. It also supports ». Page 1 of 1. Proudly published with Ghost.
blog.animascodelabs.com
Aaron Renner - Page 1 - Animas Code Labs
http://blog.animascodelabs.com/author/aaron-renner
Senior Developer at Animas Code Labs. He enjoys programming in Rails, Elixir and Ember, and loves building large scale web applications. Page 1 of 2. Older Posts →. Phoenix acceptance tests on Semaphore CI. Plataformatec just published a great introduction to testing Phoenix apps with Hound. Hound is really cool because it gives you a nice API to build browser-based ». Running PhantomJS Ghost Driver as an OS X service. Building Workflows with Sidekiq Batches. Customizing rails #to partial path.
SOCIAL ENGAGEMENT