30 Jun '16, 6am

Slides from our short talk on Law of demeter on #ruby

1. “Ruby on Rails Delegate : Don’t break the Law of Demeter ! ” Copyright 2016. Jyaasa Technologies. All Right Reserved http://jyaasa.com 2. I am Sarbada Nanda Jaiswal Associate Software Engineer at Jyaasa Technologies 3. Law of demeter Each unit should have only limited knowledge about other units: only units "closely" related to the current unit. Each unit should only talk to its friends; don't talk to strangers. Only talk to your immediate friends. 4. In object-oriented programming An object should not call methods through another object. 5. When using Rails and the cool association feature, it can be tempting to chain methods calls like this: ● product.provider.name ● provider.address.city ● company.building.city 6. These lines violate the Law of Demeter. To fix it, we should change them to be : ● product.provider_name ● provider.address_city #or provider.city ● compan...

Full article: http://www.slideshare.net/Jyaasa/ruby-on-rails-delegate

Tweets

Ruby on Rails, the iMenlo way

medium.com 30 Jun '16, 7am

iMenlo est une agence de développement d’applications Ruby on Rails, créée par mon associé Benoit et moi. Nous réalisons d...

Ruby Decorators

rubyflow.com 30 Jun '16, 7am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Ruby on rails developer by rcvanderplaat

freelancer.com 28 Jun '16, 4am

I have a working Ruby on rails online site. Managed via web, but loads via mobile phone app. I need a developer who can ad...

Ruby on Rails 5.0.0 Released:

rubyflow.com 01 Jul '16, 6am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Are you Ruby on Rails Developer? Join @netguru

netguru.co 28 Jun '16, 9am

We’ve managed to build a phenomenal organisational culture, based on strong values of transparency, collaboration spirit, ...

New Job Alert: Ruby on Rails Gem Integration by...

freelancer.com 28 Jun '16, 2pm

Please read carefully before bidding (your bid price would be final, our discussion would dive straight into the project)....

Ruby on Rails for Complete Beginners — Learn by...

blog.felixoginni.com 30 Jun '16, 7am

Once it gets everything it needs, it passes that data along to the views, inserts that data into the view templates (using...

New Job Alert: Fix several AngularJs Bugs with ...

freelancer.com 28 Jun '16, 4pm

I need a skilled developer that has experience solving [url removed, login to view] bugs and knows how to install the appl...

Fun (in retrospect) debugging tale: "Rails is j...

tech.npras.in 05 Jul '16, 2pm

instance var in the controller. Could it be that parameters is a reserved keyword? I actually googled for that, found all ...

Ruby on Rails Developer for Nibble - P.T Grapht...

id.jobsdb.com 28 Jun '16, 4am

At least 2 years work experience with Ruby on Rails Good knowledge on Ruby on Rails web framework Good understanding of so...

Ruby on Rails 5 is here! Find out what's new, and how to upgrade here

Ruby on Rails 5 is here! Find out what's new, a...

blog.careerfoundry.com 04 Jul '16, 2pm

Here at CareerFoundry, we’re pretty excited for two reasons: Firstly, we’re busy implementing these features into our own ...

Ruby on Rails Development On Ubuntu 16.04

Ruby on Rails Development On Ubuntu 16.04

linuxconfig.org 27 Jun '16, 1am

Ruby on Rails Development On Ubuntu 16.04 Linux Contents [Hide ] Installing the Packages Installing RVM Installing Rails S...

#Freelancer Ruby method to produce SOAP XML by ...

freelancer.com 27 Jun '16, 11am

create a basic JSON API in the framework Ruby on Rails (version 4). You are not required to implement authentication and a...

Ruby on Rails for Complete Beginners: Learn by ...

producthunt.com 30 Jun '16, 7am

It looks like an author is beginner, like the people to whom this article was addressed. And it could be quite harmful bec...

New Job Alert: Create Ruby and Rail API by mith...

freelancer.com 27 Jun '16, 10am

create a basic JSON API in the framework Ruby on Rails (version 4). You are not required to implement authentication and a...