• Volt may very well replace my next Sinatra app.

    A New Ruby Framework Tutorial: Meet Volt

    toptal.com 07 Jan '16, 6pm

    Hey Martin, actually they have a lot of similarities since they both follow the 'Isomorphic' paradigm, and that is sharing the same code in the Server and the Client, which basically means one programming language in every part of the app, in the case of MeteorJS is Javascript while V...

  • Grape Gem: Build a REST-like API in Ruby | Toptal

    Grape Gem: Build a REST-like API in Ruby

    toptal.com 30 Dec '15, 6pm

    user_1 = User.create email: '[email protected]', password: 'password', password_confirmation: 'password' user_2 = User.create email: '[email protected]', password: 'password', password_confirmation: 'password' user_3 = User.create email: '[email protected]', password: 'pa...

  • My Experience Building a WebRTC and AngularJS Application

    toptal.com 01 Dec '15, 11am

    I started to see that as my codebase grew, this kind of functionality would have a huge impact on my whole WebRTC framework and mail system. That is when we decided to create a separate project solely for the mail system, responsible for handling all kind of messages. The main project...

  • How to Use Rails Helpers: A Bootstrap Carousel Demonstration

    Helpers Done Right: A Bootstrap Carousel Example

    toptal.com 08 Oct '15, 4pm

    # app/helpers/carousel_helper.rb module CarouselHelper def carousel_for(images) Carousel.new(self, images).html end class Carousel def initialize(view, images) @view, @images = view, images @uid = SecureRandom.hex(6) end def html content = safe_join([indicators, slides, controls]) con...

  • Rails Engines in the Wild: Real World Examples of Rails Engines in Action

    Rails Engine Design Patterns: Real World Examples | Toptal

    toptal.com 28 Oct '14, 5pm

    Decorating is the name of the game in the default Engine usage. As an end user of the gem you can override model, view, and controllers by creating your own versions of the classes using file path and file-naming conventions laid out in the decorator gem README. There is a cost associ...

  • Best tips and practices from Ruby on Rails experts | Toptal via @toptalllc

    Best tips and practices from Ruby on Rails experts

    toptal.com 06 Jul '15, 3pm

    g++ -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED I/usr/local/Cellar/qt/4.8.7/mkspecs/macx-g++ -I. I/usr/local/Cellar/qt/4.8.7/lib/QtCore.framework/Versions/4/Headers I/usr/l...

  • The Publish-Subscribe Pattern on Rails

    The Publish-Subscribe Pattern on

    toptal.com 15 Dec '14, 4pm

    The greatest of the pub/sub pattern’s strengths are also it’s greatest weaknesses. The structure of the data published (the event payload) must be well defined, and quickly becomes rather inflexible. In order to modify data structure of the published payload, it is necessary to know a...

  • 10 Most Common Mistakes that Rails Programmers Make

    10 Common Rails Problems: A Programming Tutorial

    toptal.com 26 Dec '14, 3pm

    #5: Slower start up time should not make development slower if you have your Rails app set up properly (at least not much). This also goes for running tests. There are also many gems to help out with running tests or persisting the app’s state so you don’t have to re-load the entire a...

Related