- 27 3月, 2010 1 次提交
-
-
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 15 3月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 07 3月, 2010 1 次提交
-
-
由 wycats 提交于
add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
-
- 21 2月, 2010 1 次提交
-
-
由 José Valim 提交于
Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
-
- 15 2月, 2010 2 次提交
-
-
Signed-off-by: NYehuda Katz <yehudakatz@YK.local>
-
由 Bruno Michel 提交于
Signed-off-by: NYehuda Katz <yehudakatz@YK.local>
-
- 01 2月, 2010 1 次提交
-
-
由 Yehuda Katz 提交于
For performance reasons, you can no longer call html_safe! on Strings. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
-
- 07 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 22 10月, 2009 1 次提交
-
-
由 José Valim 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 18 10月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 08 10月, 2009 2 次提交
-
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
-
- 08 8月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: implicit argument passing of super from method defined by define_method() is not supported
-
- 29 7月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 20 7月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 19 7月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
- Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
-
- 18 6月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 09 6月, 2009 1 次提交
-
-
* Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
-
- 15 5月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 05 4月, 2009 1 次提交
-
-
由 José Valim 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2390 state:committed]
-
- 08 3月, 2009 1 次提交
-
-
由 Dan Barry 提交于
Ensure Active Record error related view helpers escape the message [#1280 state:resolved] [Inge Jørgensen, Dan Barry] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 03 9月, 2008 1 次提交
-
-
由 Clemens Kofler 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 8月, 2008 1 次提交
-
-
由 Iain Hecker 提交于
-
- 28 7月, 2008 2 次提交
-
-
由 Clemens Kofler 提交于
Refactored TextHelper#truncate, highlight, excerpt, word_wrap and auto_link to accept options hash [#705 state:resolved] Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 Clemens Kofler 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 16 7月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 08 7月, 2008 2 次提交
-
-
由 Luca Guidi 提交于
-
由 Luca Guidi 提交于
-
- 23 6月, 2008 1 次提交
-
-
由 Sven Fuchs 提交于
-
- 22 6月, 2008 1 次提交
-
-
由 Sven Fuchs 提交于
-
- 19 6月, 2008 1 次提交
-
-
由 Sven Fuchs 提交于
-
- 05 6月, 2008 1 次提交
-
-
由 Evan Farrar 提交于
-
- 02 5月, 2008 1 次提交
-
-
由 Xavier Noria 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 29 3月, 2008 2 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
由 David Heinemeier Hansson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 02 3月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 12 1月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Fixed ActionView::Helpers::ActiveRecordHelper::form for when protect_from_forgery is used (closes #10739) [jeremyevans] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 21 12月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 26 10月, 2007 1 次提交
-
-
由 Marcel Molina 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-