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
Introducing rails_env_local

“development” is not always the best name for the local environment rails_env_local, where a rails environment for local development can be anything it desires. Even a butterfly. Tell your DevOps friends. Rails Guides has more information on the Rails initialization routines. You can easily accomplish what this gem does in a few lines of code. … But are you going to write specs for code in your config/boot.rb file? Really?

March 8, 2016 Read
Hero Image
Introducing celluloid-io-pg-listener

Introducing a new RubyGem celluloid-io-pg-listener (on github) Allows you to asynchronously LISTEN for Postgresql NOTIFY messages and do something with the payloads. Sure! It should work if you just run bin/setup from the root directory of the gem, then you can follow along the examples in the readme. All the data about db setup and structure is located in the spec/apps directory. In spec/apps/Rakefile you will find a test_db_setup task. Check it out.

December 7, 2015 Read
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
  • ««
  • «
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
  • »»
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