spree/spree — pull request #3690 by huoxito (2013-09-08 20:20:43+00:00)
Title: Allow precompile assets without opening db connection

Related to #3688 hopefully fix it

I think that `LIKE` constant in frontend is legacy code, it's not used anywhere now. But in case it is we could add a `self.connected?` there too to check if a db connection was opened.