Skip to content

Commit effbd9e

Browse files
committed
Add has_secure_password to list of keywords.
Rails 3.1 adds new class method called has_secure_password. This is a class method and should be highlighted as such. This commit adds the has_secure_password to list of keywords in rails.vim.
1 parent 1ef4da7 commit effbd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3601,7 +3601,7 @@ function! s:BufSyntax()
36013601
syn keyword rubyRailsARCallbackMethod after_create after_destroy after_save after_update after_validation after_validation_on_create after_validation_on_update
36023602
syn keyword rubyRailsARCallbackMethod around_create around_destroy around_save around_update
36033603
syn keyword rubyRailsARCallbackMethod after_commit after_find after_initialize after_rollback after_touch
3604-
syn keyword rubyRailsARClassMethod attr_accessible attr_protected attr_readonly
3604+
syn keyword rubyRailsARClassMethod attr_accessible attr_protected attr_readonly has_secure_password
36053605
syn keyword rubyRailsARValidationMethod validate validates validate_on_create validate_on_update validates_acceptance_of validates_associated validates_confirmation_of validates_each validates_exclusion_of validates_format_of validates_inclusion_of validates_length_of validates_numericality_of validates_presence_of validates_size_of validates_uniqueness_of validates_with
36063606
syn keyword rubyRailsMethod logger
36073607
endif

0 commit comments

Comments
 (0)