Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1184

has_attribute? in rails3.1.0.rc6

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      I don't know, in which version this one sneaked in, but I'm getting method not found errors with rails3.1.0.rc6 for has_attribute? - this can easily be fixes with:

        def has_attribute?(attribute)
              attribute_present?(attribute)
        end
      

      but I'm not sure where this discrepancy comes from?!

      cheers
      stefan

            Assignee:
            Unassigned Unassigned
            Reporter:
            mugwump mugwump
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: