Rails Dispatch

Rails news delivered fresh

Presented by Engine Yard

View Question

Vote on questions you’d like to see answered by the expert contributors

Signup to ask questions or vote for the questions you’d like to see answered.

Hi Jose,

I’m reading about hooks in Rails 3 generators. It’s great stuff, but I have one small suggestion. You said in your article “Each invoke command above is a hook and the value showed just after is the default. So the :orm hook, uses :active_record”. But line says only invoke :active_record. We have to google around to find out hook names. I think it would be nice to say something like “invoke orm: active_record” or something like that, so we can see on that spot what hook name is.

Tnx a lot and keep up with great job and tutorials,

Milan

Asked July 14, 2010