mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 17:16:22 +00:00
fix: es necesario NoMethodError para poder hacer flatten luego
closes #16100
This commit is contained in:
parent
382f0545d1
commit
9d902fdd49
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class Post
|
|||
# Limpiar el nombre del atributo, para que todos los ayudantes
|
||||
# reciban el método en limpio
|
||||
unless attribute? name
|
||||
raise UnknownAttributeError, I18n.t('exceptions.post.no_method', method: name)
|
||||
raise NoMethodError, I18n.t('exceptions.post.no_method', method: name)
|
||||
end
|
||||
|
||||
define_singleton_method(name) do
|
||||
|
|
Loading…
Reference in a new issue