1. 22 Apr, 2016 2 commits
  2. 21 Apr, 2016 1 commit
  3. 13 Apr, 2016 2 commits
  4. 05 Apr, 2016 2 commits
  5. 27 Mar, 2016 2 commits
  6. 22 Mar, 2016 2 commits
  7. 02 Mar, 2016 1 commit
  8. 01 Mar, 2016 1 commit
  9. 26 Feb, 2016 2 commits
  10. 18 Feb, 2016 2 commits
  11. 12 Feb, 2016 2 commits
  12. 11 Feb, 2016 2 commits
    • Merge pull request #339 from kamilbielawski/persisting-wrapper-open-fix · a29aa470
      Cuong Tran authored
      Don't leave wrapper when removing annotations
    • Annotate should reset the cached information about columns · 528c0df7
      akihiro17 authored
      Annotate should reset the cached information about columns because Annotate may output old information if we load ActiveRecord::Base class in migration files.
      
      For example, if we have a following migration file and execute 'rake db:migrate', Annote does not output the default value and a not null constraint of the `some_value` column.
      
      ```ruby
      class CreatePosts < ActiveRecord::Migration
        def change
          create_table :posts do |t|
            t.integer :some_value
          end
      
          # add a not null constraint to the some_value column
      
          # should update some_value with not null values
          # because records might exist which have null value in the some_value column
      
          Post.update_all(some_value: 1)
      
          change_column_null(:posts, :some_value, false)
          change_column_default(:posts, :some_value, 1)
        end
      end
      ```
      
      This commit fixes the above issue.
  13. 31 Jan, 2016 1 commit
  14. 27 Jan, 2016 2 commits
  15. 26 Jan, 2016 1 commit
  16. 25 Jan, 2016 3 commits
  17. 20 Jan, 2016 2 commits
  18. 19 Jan, 2016 6 commits
  19. 18 Jan, 2016 4 commits