ruby

Posts tagged “ruby”.

  1. 4 approaches to handling service objects' returns

    Four ways a Ruby service object can return control to a Rails controller: exceptions, booleans, a class method with result readers, and Success/Failure objects.

  2. Sequence diagrams

    Why sequence diagrams are a good way to communicate design ideas, and how to draw them on the fly during remote meetings with PlantUML: the basic syntax.

  3. How to keep rspecs DRY

    Refactoring repetitive RSpec specs step by step: moving lets into their contexts, and keeping class instantiation and the tested method call in one place.

  4. How to design a solid database for Rails application

    Designing a Rails database upfront with not-null constraints, unique indexes and foreign keys, and why ActiveRecord validations alone cannot guarantee data integrity.

  5. Freelance full stack Ruby on Rails application development

    Building a Rails and AngularJS web application that charts gas and electricity smart meter readings for an employment agency: approach, process and screenshots.

  6. Verifying database schema in console

    PostgreSQL and MySQL console commands for inspecting a Rails application's database: listing databases and tables, describing a table, and when it helps.