Logo Rails Bling
Logo Inverted Logo
  • Categories
  • agile
  • async
  • bundler
  • development
  • evented
  • federation
  • floss
  • git
  • Go
  • howto
  • humanitarian
  • logging
  • maintenance
  • management
  • refugees
  • resque
  • rspec
  • ruby
  • security
  • threaded
  • tools
Hero Image
Why Should You Use flag_shih_tzu

What is it? See the what is it post. Why should you use it? No migrations needed for new boolean attributes Avoids ALTER TABLE when adding a new boolean field to a model, which can be important for very large tables Only the one integer column needs to be indexed The index is actually meaningful, unlike a boolean column index Bitwise operations are fast, indexes are even faster, and you can use either one Adds scopes to easily access collections of records with specific fields Chained scopes to combine sql for different bit fields for maximum performance Provides condition builder methods for each bit field so you can construct your own custom SQL with the correct bit field values for the list.

December 7, 2015 Read
Hero Image
cacheable-flash

Gets the Rails flash object working with page cacheing. This gem is no longer maintained. Please consider switching to unobtrusive_flash!

December 6, 2015 Read
Hero Image
humorous_log_formatter

Allows you to customize (and normalize the length of!) the text and color used to write the log level to your logs. This gem is no longer maintained. “error” can become red and say “noo”. “info” can become white and say “meh”. “debug” can become blue and say “wat”. Or whatever you want…

December 6, 2015 Read
Hero Image
Introducing archivist-client

Archive.org client I’ll put something here soon.

December 6, 2015 Read
Hero Image
rack-insight

An endlessly customizable development toolbar added to your website. Successor of ye olde rack-bug. This gem is no longer maintained.

December 6, 2015 Read
Hero Image
rack-toolbar

Rack Middleware that injects things into the response body. This gem is no longer maintained.

December 6, 2015 Read
Hero Image
stackable_flash

Provides super powers to the Rails flash object. This gem is no longer maintained.

December 6, 2015 Read
Hero Image
subdomain-fu

Subdomain linking and routing for Rails This gem is no longer maintained. written by Michael Bleigh, maintained by myself.

December 6, 2015 Read
Hero Image
Introducing strict_states

Provides content_tag_for method signature to create customizable and logic-gated labels from objects. Also includes a presenter base class to allow any Ruby web framework to create logic around HTML tags. I’ll put something here soon.

November 9, 2015 Read
Hero Image
Introducing rspec-pending_for

Mark specs pending or skipped for specific Ruby engine (e.g. MRI or JRuby) / version combinations. Easiest to just show you: it("blah is blah") do pending_for(engine: "rbx") pending_for(engine: "ruby", versions: "2.1.5") pending_for(engine: "jruby", versions: "2.2.2", reason: "due to a bug in Ruby") pending_for(engine: "ruby", versions: "2.0.0", reason: "because I don't have the time") expect("blah").to eq "blah" end Installation Add this line to your application’s Gemfile: gem 'rspec-pending_for' And then execute:

October 22, 2015 Read
Hero Image
The Why and How of celluloid-io-pg-listener

LISTEN for Postgresql NOTIFY messages; Asynchronously process payloads celluloid-io-pg-listener (on github) Why? At Trumaker & Co we had a distributed data problem. Two data stores that needed to be kept synchronized, in real time, with inserts and updates allowed on both sides. There wasn’t a good solution available for that, so I did a lot of research and built celluloid-io-pg-listener to solve the problem. How? The data stores are both PostgreSQL databases living in different namespaces (i.

October 6, 2015 Read
Hero Image
Introducing status_tag

Provides content_tag_for method signature to create customizable and logic-gated labels from objects. Also includes a presenter base class to allow any Ruby web framework to create logic around HTML tags. I’ll put something here soon.

August 24, 2015 Read
  • ««
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
  • »»
Navigation
  • About
  • Skills
  • Experience
  • Projects
Contact me:
  • peter.boling a@t gmail.com
  • +1-925-252-5351

Toha Theme Logo Toha (tweaked by @pboling)
© 2024 Peter Boling
CC BY-SA 4.0
Powered by Hugo Logo