RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Milestoner 1.x.x

Milestoner is a gem that provides a command line interface for Symantic Versioning of your Ruby projects. It ensures all commit messages are grouped, sorted, and added to each Git tag body per milestone so that you have an auto-documented version history of your project. These tags (i.e. releases, milestones) can be easily viewed via the GitHub releases (tags) tab of your repository (thanks to the new GitHub UI). You can also view this info from the command line via git tag --verify <your Git tag>. By wiring Milestoner into your release/publish process for each production deploy you now have a reliable way to snapshot your work and provide valuable details/debugging information for each milestone (not to mention consistent versioning). Enjoy!

Service objects with CRUD interface

Uniform CRUD interface to all of your domain objects (models and services) and why this is useful. Get rid of if @model.save redirect_to in your controllers http://undefined-reference.org/2015/12/05/services-with-crud-interface-usage.html

I like how in APIs you can make things even more DRY by raising validation erro…
I don’t really like the idea of making serivce object responsible for more than…
Alexander, it doesn’t have to violate SRP. You can create different objects for…

Rails DB - version 1.0

Rails DB finally reached version 1.0, one last thing which I wanted to finish before release was - creating records. So now Rails DB is very similar to ActiveAdmin or other similar gems + but also has own set of cool features. [more inside]

Loading older posts