- 13 Dec, 2016 2 commits
-
-
Koichi ITO authored
-
Koichi ITO authored
Ruby 2.4.0 unifies Fixnum and Bignum into Integer. https://bugs.ruby-lang.org/issues/12005 Fix following deprecated warnings in Ruby 2.4.0-preview3. - `warning: constant ::Fixnum is deprecated` - `warning: constant ::Bignum is deprecated`
-
- 24 Oct, 2016 3 commits
-
-
sickcate authored
use existence of 'Rails::Application' as indicator of Rails App instead of 'Rails', as many Ruby applications are using railties such as generators outside Rails
-
Cuong Tran authored
-
Tim Vergenz authored
* add(annotate_models_spec): test coverage * change(annotate_models#get_foreign_key_info): elide auto-generated fk names Closes #404.
-
- 29 Jul, 2016 5 commits
-
-
Gregory Sherrid authored
* Correct 'comas' to 'commas' in README
-
Cuong Tran authored
-
Cuong Tran authored
-
cuong.tran authored
-
Andrey Krivko authored
* Provide :hide_default_column_types option to make hiding of default configurable * Use `NO_DEFAULT_COL_TYPES` as default when the `hide_default_column_types` option is not provided
-
- 13 Jun, 2016 1 commit
-
-
Jmarques authored
-
- 18 May, 2016 1 commit
-
-
Robert Bousquet authored
-
- 10 May, 2016 2 commits
-
-
Cuong Tran authored
-
Ethan authored
* add option to exclude STI subclasses from annotation
-
- 09 May, 2016 4 commits
-
-
cuong.tran authored
-
cuong.tran authored
-
cuong.tran authored
-
cuong.tran authored
-
- 22 Apr, 2016 2 commits
-
-
Cuong Tran authored
Fix configuration in rails README link
-
Cuong Tran authored
Annotate should reset the cached information about columns
-
- 21 Apr, 2016 1 commit
-
-
Leo Correa authored
-
- 13 Apr, 2016 2 commits
-
-
Cuong Tran authored
fix so that the wrapper-opening does not gets duplicated
-
Dennis van de Hoef authored
-
- 05 Apr, 2016 2 commits
-
-
Cuong Tran authored
Fix bundle in windows platform.
-
Eric Guo authored
-
- 27 Mar, 2016 2 commits
-
-
Cuong Tran authored
Allow rake 11 in annotate.gemspec
-
Victor Costan authored
-
- 22 Mar, 2016 2 commits
-
-
Cuong Tran authored
Annotate on_delete/on_update foreign key constraints
-
Alexander Belozerov authored
-
- 02 Mar, 2016 1 commit
-
-
Cuong Tran authored
Add unit tests for classified sort option
-
- 01 Mar, 2016 1 commit
-
-
Kevin Farst authored
-
- 26 Feb, 2016 2 commits
-
-
Cuong Tran authored
Allow classified sorting without an ID column
-
Kevin Farst authored
-
- 18 Feb, 2016 2 commits
-
-
Cuong Tran authored
Fix fatal error when using `annotate` with ActiveRecord 4.1
-
Brent Walther authored
The fatal error was introduced with commit fc31d85. The method `supports_foreign_keys?` is only available on ActiveRecord versions >= 4.2. Fixes issue 316.
-
- 12 Feb, 2016 2 commits
-
-
Cuong Tran authored
Fix rubocop problems due to version change
-
Cuong Tran authored
- Replace SpaceAroundKeyword with SpaceAfterControlKeyword - Use an explicit rubocop version to avoid breakages during PRs
-
- 11 Feb, 2016 2 commits
-
-
Cuong Tran authored
Don't leave wrapper when removing annotations
-
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.
-
- 31 Jan, 2016 1 commit
-
-
Kamil Bielawski authored
-