Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Make script/plugin install <plugin> -r <revision> option work with git based ↵ | Tim Pope | 2008-07-14 | 2 | -15/+37 | |
| | | | | | | | | | | | | | | | | | | plugins. [#257 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Add :accessible option to Associations for allowing mass assignments using ↵ | David Dollar | 2008-07-14 | 6 | -5/+149 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hash. [#474 state:resolved] Allows nested Hashes (i.e. from nested forms) to hydrate the appropriate ActiveRecord models. class Post < ActiveRecord::Base belongs_to :author, :accessible => true has_many :comments, :accessible => true end post = Post.create({ :title => 'Accessible Attributes', :author => { :name => 'David Dollar' }, :comments => [ { :body => 'First Post!' }, { :body => 'Nested Hashes are great!' } ] }) post.comments << { :body => 'Another Comment' } Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Add block syntax to HasManyAssociation#build. [#502 state:resolve] | Jason Dew | 2008-07-14 | 2 | -3/+37 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Make fixture accessors work when fixture name is not same as the table name. ↵ | Rhett Sutphin | 2008-07-14 | 2 | -3/+33 | |
| | | | | | | | | | | | | | | | | | | [#124 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Enable loading fixtures from arbitrary locations. [#586 state:resolved] | Jacek Becela | 2008-07-14 | 1 | -4/+7 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Slightly faster DateTime#to_json. [#598 state:resolved] [Alex Zepeda] | Pratik Naik | 2008-07-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | Ensure :index works with fields_for select methods. [#518 state:resolved] | rsl | 2008-07-14 | 2 | -4/+889 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Use full path in database tasks so commands will work outside of Rails root ↵ | Tapajós | 2008-07-13 | 1 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | [#612 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
| * | | Check first render format and extension. Fixes failing ActionMailer test. | Joshua Peek | 2008-07-13 | 1 | -1/+1 | |
| | | | ||||||
| * | | Small tweak to e0fef66 | Joshua Peek | 2008-07-13 | 1 | -3/+3 | |
| | | | ||||||
| * | | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 8 | -23/+25 | |
| | | | | | | | | | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | |||||
| * | | Set config.action_view.warn_cache_misses = true to receive a warning if you ↵ | Joshua Peek | 2008-07-12 | 4 | -5/+36 | |
| | | | | | | | | | | | | perform an action that results in an expensive disk operation that could be cached | |||||
| * | | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 21 | -467/+356 | |
| | | | | | | | | | | | | a refactored Template class. | |||||
| * | | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 15 | -49/+4 | |
| | | | ||||||
| * | | Removed a few implementation specific view path tests | Joshua Peek | 2008-07-12 | 1 | -14/+0 | |
| | | | ||||||
| * | | Improve test coverage and create fixtures for ↵ | Joshua Peek | 2008-07-12 | 6 | -0/+14 | |
| | | | | | | | | | | | | RenderPartialWithRecordIdentificationTests | |||||
| * | | Ensure script/generate finds generators from symlinked plugins. [#449 ↵ | Daniel Guettler | 2008-07-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Restore support for partial matches in assert_redirected_to | Michael Koziarski | 2008-07-12 | 2 | -2/+14 | |
| | | | | | | | | | | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection. | |||||
| * | | Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵ | Johan Sørensen | 2008-07-12 | 2 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Ensure MysqlAdapter allows SSL connection when only sslca is supplied. [#253 ↵ | Micah Wedemeyer | 2008-07-11 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 7 | -13/+14 | |
| | | | | | | | | | | | | render(template, local_assigns = {}) | |||||
| * | | Use require_dependency 'application' not require in the console bootstraps ↵ | Michael Koziarski | 2008-07-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | to avoid requiring application.rb twice | |||||
| * | | Whitespace | Michael Koziarski | 2008-07-11 | 1 | -2/+1 | |
| | | | ||||||
| * | | Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵ | Joshua Peek | 2008-07-11 | 1 | -0/+19 | |
| | | | | | | | | | | | | state:resolved) | |||||
| * | | Revert "Fixed generator collisions for nested controller modules." | Joshua Peek | 2008-07-11 | 1 | -16/+9 | |
| | | | | | | | | | | | | This reverts commit 2d372d704987e05712ccd937e78d8dbd41242efe. | |||||
| * | | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -1/+2 | |
| | | | ||||||
| * | | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -0/+2 | |
| | | | ||||||
| * | | Fixed teardown method typo (plus whitespace) | Joshua Peek | 2008-07-11 | 1 | -17/+15 | |
| | | | ||||||
| * | | Check for response in builder template since ActionMailer does not have one | Joshua Peek | 2008-07-11 | 1 | -1/+2 | |
| | | | ||||||
| * | | Stubba is included in Mocha already | Joshua Peek | 2008-07-11 | 1 | -2/+1 | |
| | | | ||||||
| * | | Added notes to Routing documentation and routes.rb regarding defaults routes ↵ | Clemens Kofler | 2008-07-10 | 2 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | opening the whole application for GET requests Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| * | | Move accept header parsing shortcut to Mime::Type.parse | Jeremy Kemper | 2008-07-09 | 2 | -41/+43 | |
| | | | ||||||
| * | | Don't repeatedly convert only/except options | Jeremy Kemper | 2008-07-09 | 1 | -3/+28 | |
| | | | ||||||
| * | | Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 8 | -19/+27 | |
| | | | ||||||
| * | | Boolean type casting creates fewer objects | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Request#accepts special-cases a single mime type | Jeremy Kemper | 2008-07-09 | 1 | -4/+10 | |
| | | | ||||||
| * | | Fix teardown method name typo | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Put a newline rather than a semicolon at the end of RJS source to avoid ↵ | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | parse errors with embedded heredocs | |||||
| * | | Use ActionController::Base.logger to report template compilation errors ↵ | Jeremy Kemper | 2008-07-09 | 1 | -4/+4 | |
| | | | | | | | | | | | | since there is no AV::Base.logger | |||||
| * | | Rendering default template for missing actions works with non-word ↵ | Jeremy Kemper | 2008-07-09 | 3 | -1/+7 | |
| | | | | | | | | | | | | characters in action name | |||||
| * | | Pass caller to concat deprecation warning | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Reenable the use of the Accept header to give people a chance to update ↵ | Michael Koziarski | 2008-07-09 | 2 | -7/+8 | |
| | | | | | | | | | | | | their applications and provide feedback. | |||||
| * | | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵ | David Heinemeier Hansson | 2008-07-09 | 3 | -5/+10 | |
| | | | | | | | | | | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed] | |||||
| * | | Ensure NamedScope#build/create/create!/new works as expected when named ↵ | Daniel Guettler | 2008-07-09 | 3 | -1/+30 | |
| | | | | | | | | | | | | | | | | | | scope has hash conditions. [Daniel Guettler, Pratik Naik] [#419 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Allow Infinity (1.0/0.0) to pass validates_numericality_of. [#354 ↵ | Chris Cherry | 2008-07-09 | 2 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 3 | -6/+14 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Plugin locator: sort directory listing because we can't assume that the OS ↵ | Hongli Lai (Phusion | 2008-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | will do it for us. This fixes some unit test failures. | |||||
| * | | 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> |