Switch branches/tags
Commits on Sep 29, 2010
  1. require active_support/core_ext/module/introspection in generators/na…

    drogus committed Sep 29, 2010
    …med_base, otherwise it fails on engine
Commits on Sep 28, 2010
  1. Properly reload routes defined in class definition

    drogus committed Sep 25, 2010
    Sometimes it's easier to define routes inside Engine or
    Application class definition (e.g. one file applications). The
    problem with such case is that if there is a plugin that
    has config/routes.rb file, it will trigger routes reload on application.
    Since routes definition for application is not in config/routes.rb
    file routes_reloader will fail to reload application's routes
    properly. With this commit you can pass routes definition as a block
    to routes method, which will allow to properly reload it:
    class MyApp::Application < Rails::Application
      routes do
        resources :users
  2. Allow mounting engines at '/'

    drogus committed Sep 25, 2010
    Without that commit script_name always become '/', which
    results in paths like //posts/1 instead of /posts/1
  3. Do not overwrite _railtie method on namespace while creating isolated…

    drogus committed Sep 25, 2010
    … engine or application.
    In order to run Engine as standalone application, you will need
    Rails::Application instance in the same namespace that engine
    one. It's very important to leave _railtie bound to whatever
    used "namespace" method first.
  4. Set attributes properly for model built from association with conditi…

    marklazz authored and spastorino committed Sep 15, 2010
    …ons [#5562 state:resolved]
    Signed-off-by: Santiago Pastorino <>
  5. each works well too

    tenderlove committed Sep 28, 2010
  6. fixing indentation warning

    tenderlove committed Sep 28, 2010
  7. porting 515917f to master

    tenderlove committed Sep 28, 2010
Commits on Sep 27, 2010
  1. Fix tests on 1.9.2.

    josevalim committed Sep 27, 2010
  2. let Hash#to_param and Hash#to_query sort again

    fxn committed Sep 27, 2010
    This was a regression introduced in 5c85822. We bring
    sorting back because people rely on it, eg for constructing consistent cache keys.
  3. Test for after_create callback order in ActiveSupport [#5703 state:re…

    Neeraj Singh authored and josevalim committed Sep 25, 2010
    Signed-off-by: José Valim <>
  4. after_create in ActiveModel should in the order specified

    Neeraj Singh authored and josevalim committed Sep 25, 2010
    [#5650 state:resolved]
    Signed-off-by: José Valim <>
  5. renderer calls object.to_json when rendering :json => object [#5655 s…

    dcrec1 authored and josevalim committed Sep 18, 2010
    Signed-off-by: José Valim <>
  6. Fix for #5579 involved the code change for both has_one and has_many …

    Neeraj Singh authored and josevalim committed Sep 26, 2010
    …relationships. The path included test only for has_one. This patch adds test for has_many relationship.
    [#5706 state:resolved]
    Signed-off-by: José Valim <>