Monday, November 2, 2009

[Rails] Redundant require lib statements

Hi,

Let's say in Model1 I require 'net/http', and in Model9 I also require
'net/http' because I forgot it was already required in Mode1, will that
cause a problem?

Should I redundantly require libs? Should I put require statements in a
common place? What's the consensus on that?


Best regards,
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate