Switch branches/tags
Nothing to show
Commits on Jan 29, 2011
Commits on Jan 28, 2011
  1. Complete support for namespaced models, fixes #217.

    kaapa committed Jan 28, 2011
    The existing implementation expected usage of singularized namespaces,
    eg. Services::Twitter would have been translated to string "services::twitters"
    and constantized back as Service::Twitter. This patch pluralizes and
    singularizes only the class name of a model and leaves the namespace as
  2. README doc for default sorting

    kryzhovnik committed with sferik Jan 28, 2011
  3. For the sake of correctness rename visitor (introduced by

    kaapa committed Jan 28, 2011
    a46bb2b) to proxy as that term is more valid
    in this case. By that same reasoning rename the visit method (which
    returns the proxy with bound variables) to with.
  4. Merge branch 'master' into config-visitor

    kaapa committed Jan 28, 2011
Commits on Jan 27, 2011
  1. add a helpful error message if the user hasn't migrated their db

    caboteria committed Jan 27, 2011
    It seems reasonable that people won't know to re-run the migration
    generator so we want to give them a clue what went wrong.  The error
    that comes back is database-specific but it always seems to have the
    table name in it so we check to see if that's in the message and then
    add our text to it, so even if we're wrong the user will see the whole
  2. add a test for issue #260

    caboteria committed Jan 27, 2011
    Modify the AbstractObject tests so they test adding more than one
    has_many association at a time.  This was broken for a while but was
    fixed by 552a012, although I can't figure out why.
  3. cleaning a bit

    lucasmazza committed Jan 27, 2011
Commits on Jan 26, 2011
  1. Adding a failing test case

    lucasmazza committed Jan 26, 2011
  2. Fixing delete_selected pt-BR translation

    Pablo committed with sferik Jan 26, 2011
  3. Update mail gem to 2.2.15

    sferik committed Jan 26, 2011
Commits on Jan 25, 2011
  1. try to fix jruby build by removing factory_girl

    ccabot committed Jan 25, 2011
    the JRuby CI build is failing on a strange problem with factory_girl,
    and since it's only used in one file it's easiest to just remove it.
    We can put it back once we figure out how to make it work with JRuby.
    The broken build output:,CI_RUBY_VERSION=jruby/console
  2. try to choose a non-nil field as a label

    ccabot committed Jan 25, 2011
    The logic used to be like this but changed in 5ebc181.
    This worked with 1.9.2 but caused test failures in 1.8-ish rubies.
  3. Add config.label_methods: defaults to [:name, :title]

    rosenfeld committed Jan 25, 2011
    This allows overriding the methods to look for when searching a label for
    a record brought by a belongs_to association.
  4. Explicitly requires support for mattr_accessor

    rosenfeld committed Jan 23, 2011
    We should not rely on Rails requiring it automatically
Commits on Jan 24, 2011
  1. Merge branch 'master' of into…

    sferik committed Jan 24, 2011
    … JayTeeSF-master
  2. Merge branch 'abstract_object' of i…

    sferik committed Jan 24, 2011
    …nto ml-abstract_object
Commits on Jan 23, 2011
  1. rename histories table to rails_admin_histories

    caboteria committed Jan 23, 2011
    The problem with "histories" is that it's an obvious enough name that
    it's likely to cause conflicts with existing tables.  We've already
    seen one issue filed because of this.
    This patch adds another migration to the existing generator to change
    the name of the histories table, and changes the History class to use
    that name.
Commits on Jan 21, 2011
  1. Merge branch '3pp_history'

    caboteria committed Jan 21, 2011
  2. fix a small bug in object history display: headers didn't match columns

    caboteria committed Jan 21, 2011
    The code didn't display the object ID header but it did display the
    data so the headers didn't match the data.  Added code to not display
    the data so now the headers and data match.
  3. move abstract history code from the RailsAdmin module to a class

    caboteria committed Jan 21, 2011
    As suggested by kaapa and seconded by sferik.