aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove more warnings on AP.Emilio Tagua2010-09-282-3/+4
|
* Remove more warnings: no need to define attr_accessor if already exists. ↵Emilio Tagua2010-09-281-3/+5
| | | | Initialize ivar.
* Use redefine_method instead define_method, it may be already defined.Emilio Tagua2010-09-281-1/+1
|
* Remove method if exists, avoid calling Array#first so many times.Emilio Tagua2010-09-281-3/+5
|
* Remove more warnings on variables.Emilio Tagua2010-09-281-0/+1
|
* Initialize @compiled_at if it is not.Emilio Tagua2010-09-281-0/+1
|
* Remove warings from rescues: don't define more than once debug_hash method ↵Emilio Tagua2010-09-281-2/+2
| | | | and ask if @response if defined.
* Remove remaining warnings on _trace by adding parenthesis to gsub arguments.Emilio Tagua2010-09-281-3/+3
|
* Use parenthesis to avoid ambiguous first argument warning.Emilio Tagua2010-09-281-1/+1
|
* Ask if the instance variable is defined before asking for it, avoid *many* ↵Emilio Tagua2010-09-281-1/+5
| | | | warnings.
* Avoid more uninitialized variable warnings.Emilio Tagua2010-09-282-2/+3
|
* Initialize @sub_templatesEmilio Tagua2010-09-281-0/+1
|
* @selected may not be defined here, avoid warning.Emilio Tagua2010-09-281-1/+1
|
* Don't define _test_case method if already defined.Emilio Tagua2010-09-281-2/+4
|
* No need to call super here. Use yield instead block.callEmilio Tagua2010-09-281-3/+2
|
* Initialize @app if it doesn't exists.Emilio Tagua2010-09-281-1/+1
|
* Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-275-28/+5
|
* Define @_routes inside method, makes more sense and will be initialized when ↵Emilio Tagua2010-09-272-2/+1
| | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-273-8/+8
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-276-13/+16
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Do not cache the script name outcome.José Valim2010-09-271-9/+11
|
* Merge remote branch 'miloops/warnings'José Valim2010-09-2718-51/+87
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb
| * _routes must be inside @controller conditional.Emilio Tagua2010-09-271-1/+1
| |
| * Initialize @_routes if not defined yet, avoiding more warnings.Emilio Tagua2010-09-271-0/+1
| |
| * Refactor method to avoid warnings and not run unnecessary code.Emilio Tagua2010-09-271-11/+11
| |
| * Avoid uninitialized variable warning.Emilio Tagua2010-09-271-1/+1
| |
| * Initialize @_request and @_response.Emilio Tagua2010-09-271-1/+3
| |
| * Remove method previous method if already defined.Emilio Tagua2010-09-271-0/+1
| |
| * Define @emitted_hidden_id if it doesn't exists and reuse it if it does.Emilio Tagua2010-09-271-1/+1
| |
| * Avoid uninitialized variable warning.Emilio Tagua2010-09-271-0/+1
| |
| * Initialize @cookies.Emilio Tagua2010-09-271-0/+1
| |
| * Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-273-8/+8
| |
| * Don't shadow outer local variables.Emilio Tagua2010-09-272-5/+5
| |
| * Avoid uninitialized variable warning, reuse @integration_session.Emilio Tagua2010-09-271-8/+14
| |
| * Ask is @controller is defined to avoid warning.Emilio Tagua2010-09-271-1/+1
| |
| * Initialize @_routes if it doesn't exists.Emilio Tagua2010-09-271-0/+1
| |
| * Remove warning "too many arguments for format string" when interpolating ↵Emilio Tagua2010-09-271-1/+1
| | | | | | | | with empty hash.
| * Initialize @_etag.Emilio Tagua2010-09-271-0/+1
| |
| * Initialize @as before plural method is called.Emilio Tagua2010-09-271-0/+1
| |
| * Remove old method before redefining it.Emilio Tagua2010-09-271-0/+2
| |
| * Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-275-14/+34
| |
* | Call it compile_methods! and do the same on AM.José Valim2010-09-271-2/+2
| |
* | Assume compute_asset_host returns reasonable values.thedarkone2010-09-271-1/+1
| |
* | Convert unless/else into if/else.thedarkone2010-09-271-4/+4
| |
* | Performance: refactor convert_options_to_data_attributes.thedarkone2010-09-271-10/+14
| |
* | Remove dead code.thedarkone2010-09-271-2/+2
| |
* | Clean up url_for.thedarkone2010-09-271-3/+1
| |
* | Hash#empty? is faster than Enumerable#any? when used on a Hash.thedarkone2010-09-271-1/+1
| |
* | Do a single string interpolation.thedarkone2010-09-271-1/+1
| |
* | Simple .empty? test will do fine here (rails_asset_id returns nice strings).thedarkone2010-09-271-1/+1
| |