Commit Graph

12 Commits

Author SHA1 Message Date
Dillon Welch cac943e891 Add frozen_string_literal in all .rb files
I noticed these files all had strings such as "", "  ", "_" that were
allocated each time some common methods were called, over 1000x on a
page in my app. This comment freezes all of these strings such that
they're only allocated once, saving many KB of memory allocation.
2017-11-27 17:06:18 -08:00
Renato Mascarenhas 34312c9fbc Use 1.9 hash style on code and docs. 2013-01-28 19:02:59 -02:00
Carlos Antonio da Silva e5541af50d Change error notification message default lookup when locale not found 2012-04-28 18:01:11 -03:00
Edison 9dfff667a7 allow HTML tags in error notifications messages 2012-02-16 15:07:52 -02:00
Rafael Mendonça França f67bdbb122 Remove error_notification_id configuration 2012-02-03 11:12:06 -02:00
José Valim 594f94afb6 Remove Helpers::HasErrors. 2011-09-08 16:04:18 +02:00
José Valim 3387cc7066 Move HasErrors to helpers. 2011-09-03 12:04:23 +02:00
José Valim f32b5184a6 Bring tests back to life. 2010-11-07 10:18:37 +01:00
Johan Buts 693153d169 Added error notification class and id as configuration option 2010-11-07 17:00:49 +08:00
Carlos Antonio da Silva 27ba278b6c Refactor has errors in both error component and error notification 2010-10-29 01:05:17 -02:00
Carlos Antonio da Silva f896595cb3 Refactor error message and html options to their own methods 2010-07-06 17:49:16 -03:00
Carlos Antonio da Silva b779fe0ab9 Adding error_notification helper to show a default message at the top of forms when object has errors 2010-07-06 17:29:26 -03:00