Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 5 | -14/+89 | |
| | | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 10 | -30/+76 | |
| | | | | | | | | | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | |||||
| * | Add support for :primary_key option to has_one as well as has_many so that a ↵ | Brad Greenlee | 2008-07-06 | 5 | -5/+23 | |
| | | | | | | | | | | | | key other than the default primary key can be used for the association Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| * | Add has_many :primary_key option to allow setting the primary key on a has ↵ | Andre Arko | 2008-07-06 | 6 | -2/+19 | |
| | | | | | | | | | | | | many association Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| * | Added local assign keys to compiled method name so two threads evaluating ↵ | Joshua Peek | 2008-07-06 | 3 | -26/+9 | |
| | | | | | | | | the same template with different locals don't step on top of each other | |||||
| * | Synchronize template compiling | Joshua Peek | 2008-07-06 | 1 | -31/+34 | |
| | | ||||||
| * | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 5 | -50/+30 | |
| | | | | | | | | using a "methods_names" hash | |||||
| * | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 3 | -29/+18 | |
| | | | | | | | | longer be able to modify templates in production mode without restarting the server | |||||
| * | Use the inline template's hash as a method key instead of relying on a counter | Joshua Peek | 2008-07-05 | 1 | -7/+2 | |
| | | ||||||
| * | Removed unused template_args variable | Joshua Peek | 2008-07-05 | 1 | -2/+0 | |
| | | ||||||
| * | Deprecated TemplateHandler line offset | Joshua Peek | 2008-07-05 | 5 | -74/+57 | |
| | | ||||||
| * | Ensure all complied method names are cleaned up in the error backtrace | Joshua Peek | 2008-07-05 | 1 | -1/+1 | |
| | | ||||||
| * | Moved complied method name logic into Renderable | Joshua Peek | 2008-07-05 | 4 | -23/+24 | |
| | | ||||||
| * | Renamed Renderer to Renderable | Joshua Peek | 2008-07-05 | 4 | -4/+4 | |
| | | ||||||
| * | Fix rdoc for Filters::ClassMethods | Jeremy Kemper | 2008-07-04 | 1 | -195/+194 | |
| | | ||||||
| * | Use ActiveSupport::TimeZone in time:zones rake tasks | Pratik Naik | 2008-07-04 | 1 | -1/+1 | |
| | | ||||||
| * | Simplify the implementation of assert_redirected_to to normalise the urls ↵ | Michael Koziarski | 2008-07-04 | 6 | -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 Koziarski | 2008-07-04 | 4 | -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 Koziarski | 2008-07-04 | 5 | -9/+13 | |
| | | | | | | | | surprises when you require active_support then use Test::Unit directly. | |||||
| * | Revert "Moved TemplateHandlers to Base" | Joshua Peek | 2008-07-03 | 6 | -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] | josevalim | 2008-07-04 | 3 | -8/+24 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Add :tokenizer option to validates_length_of. [#507 state:resolved] | David Lowenfels | 2008-07-04 | 3 | -6/+27 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Allow date helpers to ignore date hidden field tags. [#503 state:resolved] | miloops | 2008-07-04 | 2 | -2/+20 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | ActiveSupport::CoreExtensions::Hash: Slightly modified wording, plus example ↵ | Clemens Kofler | 2008-07-12 | 1 | -5/+12 | |
| | | | | | | | | with reverse_merge vs. merge | |||||
* | | ActionController::Streaming: Added missing documentation for :x_sendfile and ↵ | Clemens Kofler | 2008-07-12 | 1 | -8/+15 | |
| | | | | | | | | :length options to send_file method. Added information that streaming can be turned off in a more prominent spot. Fixed a few typos. Consolidated wording in options descriptions of send_file/send_data. | |||||
* | | Added a small comment about deleting cookies set with a :domain key (in ↵ | Aaron Gibralter | 2008-07-08 | 1 | -0/+10 | |
| | | | | | | | | order to delete you must specify the domain again). | |||||
* | | Fix documentation typo (classic copy & paste error). | Diego Algorta | 2008-07-07 | 1 | -1/+1 | |
| | | ||||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2008-07-04 | 122 | -1502/+3026 | |
|\| | ||||||
| * | Reduce the number of callsites for new TemplateFiles | Joshua Peek | 2008-07-03 | 3 | -22/+33 | |
| | | ||||||
| * | Extracted Template rendering logic into Renderer module | Joshua Peek | 2008-07-03 | 5 | -33/+42 | |
| | | ||||||
| * | Use render on InlineTemplate | Joshua Peek | 2008-07-03 | 1 | -1/+1 | |
| | | ||||||
| * | Don't rely on view instance logger | Joshua Peek | 2008-07-03 | 1 | -4/+4 | |
| | | ||||||
| * | Moved TemplateHandlers to Base | Joshua Peek | 2008-07-03 | 6 | -9/+13 | |
| | | ||||||
| * | Tighten the rescue clause when dealing with invalid instance variable names ↵ | Michael Koziarski | 2008-07-03 | 1 | -1/+5 | |
| | | | | | | | | in form_helper. | |||||
| * | Move the file exists checks outside write_asset_file_contents. | Michael Koziarski | 2008-07-03 | 1 | -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 Koziarski | 2008-07-03 | 3 | -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 Koziarski | 2008-07-03 | 1 | -11/+8 | |
| | | | | | | | | | | | | definition. e.g. rake notes:custom ANNOTATION=WTF | |||||
| * | Remove unused local_binding option to InstanceTag's Constructor | Michael Koziarski | 2008-07-03 | 3 | -17/+17 | |
| | | ||||||
| * | Remove nested ternary operators from select_year in favour of conditionals. | Michael Koziarski | 2008-07-03 | 1 | -11/+20 | |
| | | ||||||
| * | Remove unneeded ObjectWrapper class. | Michael Koziarski | 2008-07-03 | 3 | -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 Koziarski | 2008-07-03 | 1 | -1/+1 | |
| | | | | | | | | behind the line offset test | |||||
| * | Remove old method of including javascripts define_javascript_functions. | Michael Koziarski | 2008-07-03 | 3 | -34/+2 | |
| | | | | | | | | javascript_include_tag and friends do a much better job. | |||||
| * | Remove strange alias for JavaScriptHelper | Michael Koziarski | 2008-07-03 | 1 | -2/+0 | |
| | | ||||||
| * | Use :namespace instead of :path_prefix for finding controller. [#544 ↵ | Tarmo Tänav | 2008-07-03 | 2 | -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 Carlson | 2008-07-02 | 1 | -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 Peek | 2008-07-02 | 8 | -42/+45 | |
| | | | | | | | | has an effect. | |||||
| * | Added Rails.initialized? flag | Joshua Peek | 2008-07-02 | 2 | -23/+34 | |
| | | ||||||
| * | Added application/jsonrequest as a synonym for application/json | Mike Subelsky | 2008-07-02 | 2 | -5/+12 | |
| | | | | | | | | [#536 state:resolved] | |||||
| * | use mocha for TimeZone mocking in Form Options helper tests | rick | 2008-07-02 | 1 | -504/+495 | |
| | | ||||||
| * | Ensure script/plugin unsource 'Usage' text is correct. [#526 state:resolved] | Ricardo Santos | 2008-07-02 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |