aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the inline template's hash as a method key instead of relying on a counterJoshua Peek2008-07-051-7/+2
|
* Removed unused template_args variableJoshua Peek2008-07-051-2/+0
|
* Deprecated TemplateHandler line offsetJoshua Peek2008-07-055-74/+57
|
* Ensure all complied method names are cleaned up in the error backtraceJoshua Peek2008-07-051-1/+1
|
* Moved complied method name logic into RenderableJoshua Peek2008-07-054-23/+24
|
* Renamed Renderer to RenderableJoshua Peek2008-07-054-4/+4
|
* Fix rdoc for Filters::ClassMethodsJeremy Kemper2008-07-041-195/+194
|
* Use ActiveSupport::TimeZone in time:zones rake tasksPratik Naik2008-07-041-1/+1
|
* Simplify the implementation of assert_redirected_to to normalise the urls ↵Michael Koziarski2008-07-046-114/+50
| | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record
* Remove old broken follow_redirect from functional tests. Still works in ↵Michael Koziarski2008-07-044-43/+5
| | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes.
* Move test related core_ext stuff out of regular core ext to prevent nasty ↵Michael Koziarski2008-07-045-9/+13
| | | | surprises when you require active_support then use Test::Unit directly.
* Revert "Moved TemplateHandlers to Base"Joshua Peek2008-07-036-14/+9
| | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb
* Allow caches_action to accept cache store options. [#416 state:resolved]josevalim2008-07-043-8/+24
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :tokenizer option to validates_length_of. [#507 state:resolved]David Lowenfels2008-07-043-6/+27
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow date helpers to ignore date hidden field tags. [#503 state:resolved]miloops2008-07-042-2/+20
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Reduce the number of callsites for new TemplateFilesJoshua Peek2008-07-033-22/+33
|
* Extracted Template rendering logic into Renderer moduleJoshua Peek2008-07-035-33/+42
|
* Use render on InlineTemplateJoshua Peek2008-07-031-1/+1
|
* Don't rely on view instance loggerJoshua Peek2008-07-031-4/+4
|
* Moved TemplateHandlers to BaseJoshua Peek2008-07-036-9/+13
|
* Tighten the rescue clause when dealing with invalid instance variable names ↵Michael Koziarski2008-07-031-1/+5
| | | | in form_helper.
* Move the file exists checks outside write_asset_file_contents.Michael Koziarski2008-07-031-6/+4
| | | | This lets us avoid the relatively costly trip through compute_*_paths if the file already exists.
* Move template_format logic out to the request so it's alongside the ↵Michael Koziarski2008-07-033-13/+15
| | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts.
* Support for custom annotations with rake notes:custom and DRY up the task ↵Michael Koziarski2008-07-031-11/+8
| | | | | | definition. e.g. rake notes:custom ANNOTATION=WTF
* Remove unused local_binding option to InstanceTag's ConstructorMichael Koziarski2008-07-033-17/+17
|
* Remove nested ternary operators from select_year in favour of conditionals.Michael Koziarski2008-07-031-11/+20
|
* Remove unneeded ObjectWrapper class.Michael Koziarski2008-07-033-11/+3
| | | | Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
* Tighten the rescue clause here to prevent hiding strange mock related errors ↵Michael Koziarski2008-07-031-1/+1
| | | | behind the line offset test
* Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-033-34/+2
| | | | javascript_include_tag and friends do a much better job.
* Remove strange alias for JavaScriptHelperMichael Koziarski2008-07-031-2/+0
|
* Use :namespace instead of :path_prefix for finding controller. [#544 ↵Tarmo Tänav2008-07-032-2/+21
| | | | | | | | | | state:resolved] :namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Changing order of equality because comparing certain objects with false ↵Lucas Carlson2008-07-021-2/+2
| | | | | | | | | | | | | raises an error. >> require 'md5' => true >> MD5.new("Asds") == false TypeError: can't convert false into String from (irb):2:in `==' from (irb):2 >> false == MD5.new("Asds") => false
* Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-028-42/+45
| | | | has an effect.
* Added Rails.initialized? flagJoshua Peek2008-07-022-23/+34
|
* Added application/jsonrequest as a synonym for application/jsonMike Subelsky2008-07-022-5/+12
| | | | [#536 state:resolved]
* use mocha for TimeZone mocking in Form Options helper testsrick2008-07-021-504/+495
|
* Ensure script/plugin unsource 'Usage' text is correct. [#526 state:resolved]Ricardo Santos2008-07-021-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure render :collection doesnt set nil local when :as is absentPratik Naik2008-07-023-1/+8
|
* Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-028-12/+39
| | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
* Add Inflection rules for String#humanize. [#535 state:resolved] [dcmanges]Pratik Naik2008-07-023-8/+51
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make rake test:uncommitted work with Git.Tim Pope2008-07-022-4/+12
| | | | | | Note : rake test:uncommitted is considering only unstaged files. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make sure render :template works with :locals. [#524 state:resolved]Tim Haines2008-07-022-1/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improved test coverage and added RackRequest support for CGI environment ↵Joshua Peek2008-07-013-22/+154
| | | | variables.
* Ensure Rails::Generator quotes file names while generating diff. [#264 ↵Carl Porth2008-07-021-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure AssociationCollection#size considers all unsaved record. [#305 ↵Pratik Naik2008-07-022-1/+8
| | | | | | state:resolved] [sds] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure proper output when submit_tag is used with :disabled_with. [#388 ↵Scott Stewart2008-07-022-2/+11
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* TimeWithZone#advance: treat :weeks option as variable-lengthgbuesing2008-06-291-2/+2
|
* TimeWithZone: when crossing DST boundary, treat Durations of days, months or ↵gbuesing2008-06-293-12/+203
| | | | years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods.
* Merge branch 'state_machine'rick2008-06-2922-167/+1078
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Some big changes: * Added some redundant requires so active_support/inflecto can be loaded without the rest of ActiveSupport. * Disabled callbacks and validations until they are added and tested. * Converted specs back to tests, using ActiveSupport::TestCase and the new #test helper. * As an experiment, I imported Scott Barron's awesome AASM gem into ActiveModel. I added multiple state machine support and vastly improved the API (no more aasm_* prefixes). All the old tests pass. If this bothers people, I have no problems removing this and contributing the changes back to AASM. I just feel like AMo is a better spot for all these 'modelish' features.
| * all aasm tests without activerecord moved over and passingrick2008-06-285-59/+76
| |