Hi all

I'd like to begin with clean development of engines that I will be able 
to re-use and give to the Rails community.
Now my question: what should I always keep in mind when writing code for 
an engine? I'm thinking here about stuff like that I shouldn't hard-code 
table names etc.

And by the way: Isn't it quite dangerous to hard-code model names, too? 
We're nearly forced to do this, I know, but it could be quite often the 
case that the name of an engine's model is the same like the name of 
another model, right? That's quite dangerous... :-/

Thanks for infos! :-)
Joshua

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to