Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum status: { stale: 0, new: 1, converted: 2 }
- You tried to define an enum named "status" on the model "Lead", but this will generate a class method "new", which is already defined by Active Record.
- enum status: [ :stale, :new, :converted ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement