forked from consuldemocracy/consuldemocracy
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to rails 5 #1947
Merged
Merged
Upgrade to rails 5 #1947
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
c6de990
Upgrade gem rails and its dependecies
microweb10 798c047
updates config files
xuanxu 851c50c
updates Devise spec helpers required
xuanxu 43ef417
fixes expire cache specs
voodoorai2000 094233c
removes uniq deprecation warning
voodoorai2000 f011cab
removes devise-async for delayed devise emails
alejanderl b0061d4
removes configurations and settings for devise-async
alejanderl caa803e
replaces uniq with distinct
alejanderl b6d6162
fixes deprecation warning for `uniq`
alejanderl 34df580
Fix uniq deprecation warning
voodoorai2000 35ff828
Fix deprecation warning for `.uniq` usage
aitbw 46418f6
Fix deprecated devise syntax
voodoorai2000 4f2f6d2
Changes autorize path method.
alejanderl d11ff0b
fixes specs with current devise response implementation
xuanxu b32680a
fixes activity specs
voodoorai2000 9eb073e
permits parameters in urls
voodoorai2000 75136ec
fixes some deprecation warnings
alejanderl 60e633c
fixes specs related to ActionController params
voodoorai2000 850ffdd
fixes lock specs
voodoorai2000 5a43cf5
Remove ProgressBar overrided translation class
microweb10 1edf69a
Remove Budget::Group overrided translation class
microweb10 92472e8
Remove Budget overrided translation class
microweb10 71df3c7
Remove Budget::Heading overrided translation class
microweb10 264cd9c
Remove Budget::Phase overrided translation class
microweb10 c4a39dc
Remove milestone overrided translation class
Senen f8ef705
Changes autorize path method. (custom)
microweb10 726b859
Fix queries and scopes after column deletion
Senen febb118
Fix queries and scopes after column deletion
Senen f0a96db
Fix queries and scopes after column deletion
taitus 398d4c1
Fix specs heading_specs.rb:313
taitus 0d937c5
Update helpers after globalize gem version update
Senen 0130952
protect_from_forgery is not prepended by default
xuanxu 678417a
Move before_save to Translations class for Budget::Group model
microweb10 1a3fc8a
fixes deprecation warning relate to raise_in_transactional_callbacks
alejanderl 0266280
Use #data_source_exists? instead of #table_exists?
microweb10 1d58ded
Fix ActiveModel::Errors#[]= deprecation warning
voodoorai2000 ddcd5ba
Remove before_filter deprecation warning
voodoorai2000 3a38880
Remove parameterise deprecation warning
voodoorai2000 c6dbe2f
Fix parameterise deprecation warning
voodoorai2000 628c5c4
Use `separator` key when parameterizing arguments
aitbw e969165
Use `separator` key when parameterizing arguments
aitbw a31acc1
Fix symbolize_keys deprectation warning
voodoorai2000 5605248
updates specs to new keyword styles
xuanxu 44a4e89
Use `head :ok` when expecting an empty response body
aitbw 5d021a3
removes controller spec deprecation warnings
voodoorai2000 d174045
removes stats controller spec deprecation warning
voodoorai2000 e91ea7a
updates controller specs deprecation warnings
voodoorai2000 9926ef2
removes controller spec deprecation warnings
alejanderl 1ad404a
Fix `redirect_to` deprecation warning on Admin::Legislation::Processe…
aitbw bc10fea
Fix `redirect_to :back` deprecation warning
microweb10 b75e824
Fix all occurrences for `after_filter` deprecation warnings
aitbw b26bd67
Use `.where` clause first when calling `.destroy_all` method
aitbw 6a0c5bd
sanitizes params for views
alejanderl 0c9f035
forces params results to_h
alejanderl 6103b7b
Fix deprecation warning calling `env' in controllers
microweb10 48ec33c
Fix all occurrences for `uniq` deprecation warnings
aitbw b497008
models inherits from ApplicationRecord
xuanxu 370c070
fixes application_record parent
xuanxu b201498
makes models inherit from ApplicationRecord
xuanxu 619727b
Replace all occurrences of `ActiveRecord::Base` with `ApplicationRecord`
aitbw 94ebad5
Use Legislation::BaseController on instead of ApplicationController
aitbw 46f50c6
Replace occurrences of ActiveRecord::Base on new models
aitbw 1183d5d
Replace occurrences of ActiveRecord::Base on new models
microweb10 a46b993
Santitize description translations
Senen 895c41b
Fix sanitization for translatable description attribute
Senen 2c059e0
Keep method for not yet globalizable models
Senen 3efc3b8
Fix failing tests
microweb10 7ccbec2
Require conflicting dependencies
microweb10 f980be1
Require conflicting dependencies
microweb10 cdd5841
Fix several rubocop warnings
microweb10 a8a7f95
Upgrade gem devise to version 4.6.2
microweb10 191aa9c
Fix failing migrations when running `rake db:migrate` task
aitbw 064ce60
Regenerate DB schema
microweb10 e010121
Remove migrations warning
microweb10 62f0804
Fix Devise deprecation warning
microweb10 31a04f4
Change the way we retrireve the images urls
microweb10 99ba7a6
Add lib folder path to eager_load_paths
microweb10 a1a43b9
Set globalize fallbacks for requests
Senen fbba1e2
Require conflicting dependencies
microweb10 ecfd290
Fix failing spec
microweb10 b4b5a4f
Fix failing spec
microweb10 4029828
Prepend custom assets to CONSUL assets
javierm File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics/LineLength: Line is too long. [110/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)