rails/rails — pull request #16946 by sahilbathlavinsol (2014-09-17 20:17:37+00:00)
Title: Make year optional(mm/dd) while typecasting activerecord date type

This will make the year optional while initiating any active record object with date type just like it is there for datetime.

i.e
`User.new(created_at: '07/15') `
`#=> <#User id:1, created_at: current_year/07/15 >`

||y,

`user = User.new`
`user.assign_attributes(created_at: '07/15')`