olivernn / poirot

mustaches in your rails
http://olivernn.github.com/poirot
108 stars 21 forks source link

replace rails dependency with railties #25

Closed brycekwan closed 2 years ago

brycekwan commented 11 years ago

This removes the rails dependency from the poirot and replaces it with railties. This was tested using the example application.

The rails dependency pulls in unnecessary gems such as activerecord, which is not needed if you are using another ORM.

olivernn commented 11 years ago

I think you would also need to add ActionPack as a dependency for the template helper, see here https://github.com/olivernn/poirot/blob/master/lib/poirot.rb#L7-8

brycekwan commented 11 years ago

Railties already pulls in ActionPack as a runtime dependency. So we don't need to specify it as a dependency.