16 Jul '12, 9am

I approve of this technique for doing form presenters in rails 3

In this post I'll make the case for why form-backing objects help keep your app's codebase clean and maintanable, and I'll show how to create, use and test a form-backing object. Imagine that you are building a website where users can register and your stories look something like this: When a visitor registers a User record and Business record are created The user must accept the terms of service The user must correctly answer a simple math or logic question to ward off bots The site should log the IP address the of the user who registered After the registration is complete, the user should get an email If there are any problems or validation errors during registration, no User or Business should be created and nothing should be logged These are pretty straightforward requirements, so you start coding: Take 1: The Fat Controller The first version might look something like ...

Full article: http://pivotallabs.com/users/jdean/blog/articles/1706-for...

Tweets

Three simple #runningtips for better form, from...

Warm Up and Build Your Running Game Slowly. This may not seem like a form tip, but it certainly is, especially if you sit ...

Startups to merge to form new analog chip ventu...

eetimes.com 17 Jul '12, 2pm

SAN FRANCISCO—A pair of privately held chip startups that have taken more than $80 million in venture funding combined to ...

Strong abs will improve your form, reduce injuries, and make you faster. Here's how to get 'em:

Strong abs will improve your form, reduce injur...

runnersworld.com 16 Jul '12, 7pm

We created the following exercise routine to challenge your balance—and build your abs—in a variety of ways. You should pe...

Ruby on Rails - APIdock:

apidock.com 11 Jul '12, 11am

The Model layer represents your domain model (such as Account, Product, Person, Post ) and encapsulates the business logic...

Engineering apprenticeships are still available...

reading-buses.co.uk 19 Jul '12, 1pm

Start a new career with Reading Buses Want to drive your career forward and go places with Reading Buses? We have a number...

3 Little Tips for Better Running Form | Ask Coa...

I am starting to train for a half-marathon, and the more I read about proper running technique, the more confused I get. C...