README.md in apartment-0.18.0 vs README.md in apartment-0.19.0

- old
+ new

@@ -162,11 +162,11 @@ In order to migrate all of your databases (or posgresql schemas) you need to provide a list of dbs to Apartment. You can make this dynamic by providing a Proc object to be called on migrations. This object should yield an array of string representing each database name. Example: # Dynamically get database names to migrate - config.database_names = lambda{ Customer.select(:database_name).map(&:database_name) } + config.database_names = lambda{ Customer.pluck(:database_name) } # Use a static list of database names for migrate config.database_names = ['db1', 'db2'] You can then migration your databases using the rake task: @@ -232,6 +232,6 @@ * Please issue pull requests to the `development` branch. All development happens here, master is used for releases * Ensure that your code is accompanied with tests. No code will be merged without tests ## License -Apartment is released under the [MIT License](http://www.opensource.org/licenses/MIT). \ No newline at end of file +Apartment is released under the [MIT License](http://www.opensource.org/licenses/MIT).