Mocking your JSON API with Ember CLI Mirage

Last week we went from static HTML to calling a property on the controller to retrieve data for an Ember template. We also created a very simple model object so that we could get the title attribute and display it on the page. However, in the real world you would never hard code your data […]

Continue reading...

Design Inspiration #196

Design Inspiration from Slack, Atom, Help Scout, The Loppist, and Atomic! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Slack https://slack.com Atom https://atom.io Help Scout http://www.helpscout.net The Loppist https://loppist.com Atomic https://www.atomic.io

Continue reading...

Creating and using Modules in Ruby

A problem that you will encounter when you begin to work on bigger Ruby projects is code organisation and how best to reuse code. Modules are a way of “namespacing” your code. This is important for organisation, but it also prevents name clashes between classes, methods and constants. In today’s tutorial we’ll be looking at […]

Continue reading...

Design Inspiration #195

Design Inspiration from Tracksmith, Fivefootsix, ThinkBlink, The Calvert Journal, and CashBack Corporation! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Tracksmith https://www.tracksmith.com Fivefootsix http://www.fivefootsix.co.uk ThinkBlink http://thinkblink.nl The Calvert Journal http://calvertjournal.com CashBack Corporation http://cashbackcorp.com

Continue reading...

Understanding Inheritance in Ruby

One of the fundamental aspects of Object-oriented programming is inheritance. Inheritance is where an object inherits from another object. This means it acquires the same properties and methods of it’s parent. This is an important concept for a lot of reasons. However, I think inheritance is often misused by newbie programmers who jump at the […]

Continue reading...

Writing your first Ember.js Acceptance Test

Last week I set the foundation for a new little mini-series here on Culttt all about building an Ember.js application using Test Driven Development. Previously we’ve covered a lot of the basics when it comes to getting to grips with Ember. However, I feel learning how to write tests should really be through Test Driven […]

Continue reading...

Design Inspiration #194

Design Inspiration from Oculus, Kindred Studio, Panic, DockYard, and Loubsol! Design Inspiration is a weekly post that showcases examples of some of the best new web design from around the internet. Oculus https://www.oculus.com Kindred Studio http://www.kindredstudio.net Panic http://www.panic.lv DockYard https://dockyard.com

Continue reading...

What is Monkey Patching in Ruby?

One of the most powerful aspects of Ruby is the ability to re-open any class and change it’s methods. Yes that’s right, you can actually reopen any class and change how it works. This includes the standard Ruby classes like String, Array or Hash! Now this is obviously as dangerous as it sounds. Being able […]

Continue reading...

Creating a new Ember project

Over the last couple of weeks we’ve covered a lot of the basics of Ember. Whilst we haven’t went into too much depth in any one area, hopefully you should now have a general understanding of the core characteristics of the framework and how it fundamentally works. One thing we haven’t touched upon in testing. […]

Continue reading...