-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generator for non-association/columnar attrs. (#1290)
Rails allows for custom attributes, and these are often used with gems such as `attr_encrypted`. Previously, the Dashboard generator would fail with: > undefined method `has_one?' for nil:NilClass (NoMethodError) Instead of failing with an error, this ensures we rely on column names instead of attributes names.
- Loading branch information
1 parent
57f7d95
commit 4e36c31
Showing
2 changed files
with
26 additions
and
1 deletion.
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
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