37signals logo

This is Signal vs. Noise, a weblog by 37signals about design, business, experience, simplicity, the web, culture, and more. Established 1999 in Chicago. Follow us on Twitter for more information on our products.

Jobs:

See more on our Job Board.

Watched by 37signals on June 14 2010:

David’s talk at RailsConf 2010.

Looking for a job? Got a position to fill? Check out the Job Board.
Got a web design project in mind? Find a web designer on Sortfolio. Browse by visual style, portfolio, budget, and geographic location.
Over 1 million people use 37signals' simple web-based software to collaborate on projects, track contacts, and organize their business with an intranet.

5 comments so far

Robert 14 Jun 10

How could you publish such a long video on youtube??? Isn’t it 10 minutes maximum? Sorry for the change of subject.

Curtis 14 Jun 10

Liked the video – subtitles were way off though

Michael 14 Jun 10

Robert, you can publish long videos if you have the right account type for your channel. It’s in your account settings.

Nathan Kontny 14 Jun 10

I couldn’t help notice though in the video that the thing that repeats still in ActionMailer is the constant assignment of variables to instance variables in the mailer methods.

This happens constantly with us, where we pass objects to a mailer method and that mailer method just needs to assign variables to instance variables with the same name.

Should there be some automated way to do this? I wonder if ruby could interrogate the param names of a mailer method, and define instance vars for the mailer view?

DHH 15 Jun 10

Nathan, I looked at that too, but found too many times where I didn’t want exactly the same thing copied in. Or I wanted to change the naming. Or I was passing something else in that needed processing first.

Interrogating all the parameters and automatically assigning them would be too clever.

Comments are closed