1. 06 Jan, 2016 2 commits
  2. 16 Nov, 2015 2 commits
  3. 15 Nov, 2015 2 commits
  4. 12 Nov, 2015 1 commit
  5. 05 Nov, 2015 1 commit
  6. 28 Oct, 2015 1 commit
  7. 03 Oct, 2015 1 commit
  8. 26 Sep, 2015 1 commit
  9. 16 Sep, 2015 1 commit
  10. 15 Sep, 2015 2 commits
  11. 26 Aug, 2015 2 commits
  12. 04 Aug, 2015 1 commit
  13. 03 Aug, 2015 1 commit
  14. 14 Jul, 2015 1 commit
  15. 12 Jul, 2015 2 commits
  16. 01 Jul, 2015 3 commits
  17. 30 Jun, 2015 1 commit
  18. 22 Jun, 2015 1 commit
  19. 21 Jun, 2015 2 commits
  20. 18 Jun, 2015 2 commits
  21. 17 Jun, 2015 3 commits
  22. 16 Jun, 2015 1 commit
    • Fix association class name for namespaced has one model lookups · 72287624
      Use association.klass.name instead of association.class_name to get the
      namespaced class name and therefore prevent:
      
      `Object.get_const(association_class_name)`
      
      from raising "uninitialized constant ParanoidHasOne"
      in the following situation:
      
      module Something
        def self.table_name_prefix
          "something_"
        end
      
        class ParanoidHasOne < ActiveRecord::Base
          acts_as_paranoid
          has_one :paranoid_belongs_to, dependent: :destroy
        end
      
        class ParanoidBelongsTo < ActiveRecord::Base
          acts_as_paranoid
          belongs_to :paranoid_has_one
        end
      end
      
      hasOne = Namespaced::ParanoidHasOne.create
      hasOne.destroy
      hasOne.restore(:recursive => true) # previously would explode
      Landon Wilkins committed
  23. 08 Jun, 2015 1 commit
  24. 29 May, 2015 1 commit
  25. 18 May, 2015 2 commits
  26. 11 May, 2015 1 commit
  27. 09 May, 2015 1 commit