Skip to content

Bits of Ruby code I find useful, but aren't big enough to justify building and releasing a gem.

License

Notifications You must be signed in to change notification settings

adamjsimon/ruby_snippets

 
 

Repository files navigation

Some ruby snippets of code I find useful, but aren't big enough to warrant publishing a gem.

  • BetterMigrationDefaults — Some better defaults for Rails migrations, particularly when using Postgres.
  • Capybara app link — When using the rel attribute for clickable objects on a page, use this Capybara helper to find them.
  • FakeHTTP — Manually control responses to requests made with the HTTP.rb gem using a Sinatra-like interface.
  • StimulusData — A utility class for creating the myriad of data- attributes used by Stimulus controllers.

About

Bits of Ruby code I find useful, but aren't big enough to justify building and releasing a gem.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%