Can I create model named Model?

Can I create model named Model like below?

Will it cause some problems later?

# app/models/model.rb
class Model < ActiveRecord::Base
  has_many :products


Yes, you can create a model called Model...

...and yes, it could easily cause some problems later. ActiveModel contains the class "Model" already, so if you wish to ever utilize ActiveModel you set yourself up for a world of pain (or at least conflicts).

Need Your Help

How to get key and value from a js map

javascript jquery

I am trying to write a custom grid in jquery so took a look at jquery plugin development. In it I assigned headers for the grid and want to assign rows, but need help with assigning values to rows....

Trouble converting NSData to NSArray

nsmutablearray nsarray nsdata nsmutabledata

(void) connection:(NSURLConnection )connection didReceiveData:(NSData )data