Skip to content

Commit beb3727

Browse files
committed
hook when ActiveScaffold module is loaded, so gems can use its methods on initialization using hooks
1 parent a1d305e commit beb3727

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.rdoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
= 3.7.3
12
- Escape _ and % when using search with LIKE
23
- Fix ID in nested scaffolds when parent record has string primary key, with invalid chars for HTML ID
34
- Fix search with recordselect multiple
45
- Support loading jquery-ui externally, without jquery-ui-rails gem and ask AS to load JS/CSS for addons based on jquery-ui
56
- Support usage with importmap
67
- Add reset_form to search and field_search, when enabled, reset link will clear input fields in the search form, instead of refreshing the list without search and closing the form.
8+
- Add active support load hook :active_scaffold when ActiveScaffold module is ready
79

810
= 3.7.2
911
- Fix routes

lib/active_scaffold.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def self.defaults(&block)
9696
ActiveScaffold::Config::Core.configure(&block)
9797
end
9898
end
99+
ActiveSupport.run_load_hooks(:active_scaffold, ActiveScaffold)
99100
require 'active_scaffold/engine'
100101
require 'ice_nine'
101102
require 'ice_nine/core_ext/object'

0 commit comments

Comments
 (0)