20 Apr '16, 3am

In case you missed it yesterday, our take on de-complicating the “nouns” in our Ruby web applications: https://t.co/GYnF92iPHp

Hop into a typical Rails app’s source code or git history and you’ll see that its ActiveRecord::Base subclasses are a real nexus of behaviour and logic. You’ll likely find yourself reaching over to these classes and making changes as you work on any part of the app. They have a lot of responsibility, and in many ways, they feel like the backbone of a Rails app. These classes also have another characteristic that can spread design difficulties throughout your app: they have mutable state . Your ActiveRecord subclasses can: Be created brand new with empty attributes, Come freshly loaded from the database, Have their attributes modified in memory but not yet persisted to the database, Hold invalid attributes , Have their associations preloaded from the database… Or not! Or even have new associations built in memory but not yet persisted to the database. This is a scary list. ...

Full article: http://icelab.com.au/articles/inactive-records-the-value-...

Tweets

New Job Alert: Costruire Siti Web con ruby on r...

freelancer.com 20 Apr '16, 10am

I am in the TOP 5 out of 16,000,000+ Freelancers. I am super experienced web programmer who has successfully launched vari...

#JOB Create a Shopify App using Ruby on Rails, ...

freelancer.com 18 Apr '16, 8pm

I am an experienced developer with proficiency in varied technologies available. Best work at affordable rates. Welcome to...

Join our docents on an exploration through the vast collection of objects displayed in #teasures_nms

Join our docents on an exploration through the ...

nationalmuseum.sg 21 Apr '16, 11am

The Columbian Exchange that began in 1492 has initiated a movement of people, commingling of plants, animals and diseases ...

10 needs of a web page design that works for your small business

10 needs of a web page design that works for yo...

123-reg.co.uk 19 Apr '16, 11pm

If you just stick to the basics of solid web page design, you can create a fantastic web page that works for your business...

#ModelX

teslamotors.com 29 Apr '16, 4pm

RESERVE YOURS TODAY Reservations start at and are fully refundable. Change your design anytime. RESERVE