rails / coffee-rails

CoffeeScript adapter for the Rails asset pipeline. Also adds support for .coffee views.
MIT License
230 stars 64 forks source link

"Coffee" namespace #63

Closed gabeodess closed 9 years ago

gabeodess commented 9 years ago

I recently started a Rails app and I wanted to create a model called "Coffee". The coffee-rails gem prevented this from being possible. It would be nice if your Coffee module could be name-spaced to something else to allow me to have a Coffee model.

rafaelfranca commented 9 years ago

This is hard to fix without a major breakage. We may thing in a way to do it but I don't see it being done in any feasible timeframe sorry.

pklingem commented 7 years ago
class ☕ < ActiveRecord::Base
  def 🚰
    ...
  end
end

yw