1. 10 12月, 2012 2 次提交
  2. 09 12月, 2012 1 次提交
    • A
      Session variables for mysql, mysql2, and postgresql adapters can be set · 97d06e8c
      Aaron Stone 提交于
      in the new 'variables:' hash in each database config section in database.yml.
      The key-value pairs of this hash will be sent in a 'SET key = value, ...'
      query on new database connections.
      
      The configure_connection methods from mysql and mysql2 into are
      consolidated into the abstract_mysql base class.
      97d06e8c
  3. 08 12月, 2012 2 次提交
    • C
      Update AR Changelog with correct example using includes · ad59260f
      Caike Souza 提交于
      These queries don't seem to work without the includes clause. [ci skip]
      ad59260f
    • C
      Rollback where.like and where.not_like · 8d02afea
      Carlos Antonio da Silva 提交于
      The real win with these chain methods is where.not, that takes care of
      different scenarios in a graceful way, for instance when the given value
      is nil.
      
          where("author.id != ?", author_to_ignore.id)
          where.not("author.id", author_to_ignore.id)
      
      Both where.like and where.not_like compared to the SQL versions doesn't
      seem to give us that much:
      
          Post.where("title LIKE 'ruby on%'")
          Post.where.like(title: 'ruby on%'")
          Post.where("title NOT LIKE 'ruby on%'")
          Post.where.not_like(title: 'ruby on%'")
      
      Thus Rails is adding where.not, but not where.like/not_like and others.
      8d02afea
  4. 07 12月, 2012 3 次提交
  5. 05 12月, 2012 2 次提交
  6. 04 12月, 2012 1 次提交
  7. 03 12月, 2012 1 次提交
  8. 02 12月, 2012 1 次提交
    • J
      Add metadata to schema_migrations · 0a5afa22
      Josh Susser 提交于
      migrated_at: timestamp when migration run
      fingerprint: md5 hash of migration source
      name: filename without version or extension
      0a5afa22
  9. 30 11月, 2012 1 次提交
  10. 29 11月, 2012 3 次提交
  11. 28 11月, 2012 1 次提交
  12. 25 11月, 2012 1 次提交
  13. 24 11月, 2012 1 次提交
  14. 22 11月, 2012 3 次提交
  15. 21 11月, 2012 1 次提交
  16. 20 11月, 2012 1 次提交
  17. 19 11月, 2012 1 次提交
  18. 17 11月, 2012 2 次提交
  19. 12 11月, 2012 2 次提交
  20. 10 11月, 2012 1 次提交
  21. 05 11月, 2012 1 次提交
  22. 03 11月, 2012 2 次提交
  23. 31 10月, 2012 3 次提交
  24. 29 10月, 2012 3 次提交