Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: rework_initial…
Commits on Jan 4, 2015
  1. @rogerleite @rafaelfranca

    Fix tiny typo in documentation

    rogerleite authored rafaelfranca committed
  2. @wangjohn @rafaelfranca

    Application Record tests should reset configurations.

    wangjohn authored rafaelfranca committed
    We need to reset the configurations so that Active Record configurations
    are set back to their defaults.
  3. @wangjohn @rafaelfranca

    Documenting the application configuration module.

    wangjohn authored rafaelfranca committed
  4. @wangjohn @rafaelfranca
  5. @wangjohn @rafaelfranca

    Adding application record tests.

    wangjohn authored rafaelfranca committed
    Tests to make sure that all of the functionality of ApplicationRecord
    exists, specifically namespacing and inheritence of configurations.
  6. @wangjohn @rafaelfranca

    Backwards compatibility for ApplicationRecord.

    wangjohn authored rafaelfranca committed
    If ApplicationRecord is not defined, then we should fall back to
    ActiveRecord::Base without anything breaking.
  7. @wangjohn @rafaelfranca

    Removing configs_from.

    wangjohn authored rafaelfranca committed
    This feature is currently unused so it should be removed. This should be
    implemented when multiple applications are ready to be used in a single
    ruby process.
  8. @wangjohn @rafaelfranca

    Using ActiveRecord::Base.application_record.

    wangjohn authored rafaelfranca committed
    This method gets the correct application record that is currently
    defined. This will be used in place of ActiveRecord::Base to access
    configurations.
  9. @wangjohn @rafaelfranca
  10. @wangjohn @rafaelfranca

    Changing READMEs to refer to ApplicationRecord.

    wangjohn authored rafaelfranca committed
  11. @wangjohn @rafaelfranca

    Use ApplicationModel in the Rails guides.

    wangjohn authored rafaelfranca committed
    The ApplicationModel should replace all instances where models subclass
    from ActiveRecord::Base.
  12. @wangjohn @rafaelfranca

    Fixing superclass path.

    wangjohn authored rafaelfranca committed
    The +instance_method_already_implemented?+ method needs to be aware that
    you should get the super method when the superclass is an
    ApplicationRecord as well.
  13. @wangjohn @rafaelfranca

    Class.new in AR test subclass ApplicationRecord

    wangjohn authored rafaelfranca committed
    Before they were subclassing ActiveRecord::Base. With the introduction
    of ApplicationRecord, these tests should actually be subclassing
    ApplicationRecord.
  14. @wangjohn @rafaelfranca

    Renamed ApplicationModel to ApplicationRecord.

    wangjohn authored rafaelfranca committed
    This new name is less general and more appropriate since these changes
    are limited to Active Record.
  15. @wangjohn @rafaelfranca

    Changing comments to use ApplicationModel.

    wangjohn authored rafaelfranca committed
    The comments have become outdated since the creation of the
    ApplicationModel. Now, the model classes should inherit from
    ApplicationModel instead of ActiveRecord::Base.
  16. @wangjohn @rafaelfranca

    Method for finding the correct application model.

    wangjohn authored rafaelfranca committed
    This method first checks to see if an application configuration is
    defined, then gets the correct ApplicationModel. Reverts to
    ActiveRecord::Base if it can't find anything.
  17. @wangjohn @rafaelfranca

    Creating ApplicationModel methods.

    wangjohn authored rafaelfranca committed
    These methods will be used by the ApplicationModel to send the correct
    configuration.
  18. @wangjohn @rafaelfranca

    Changing the models.

    wangjohn authored rafaelfranca committed
  19. @wangjohn @rafaelfranca

    Using ApplicationModel in Active Record tests.

    wangjohn authored rafaelfranca committed
    This replaces the current use of ActiveRecord::Base in most tests.
  20. @wangjohn @rafaelfranca

    Adding ApplicationModel to the test helper.

    wangjohn authored rafaelfranca committed
    The Active Record tests should now include inside of it an
    ApplicationModel.
  21. @wangjohn @rafaelfranca

    Creating a template for ApplicationModel.

    wangjohn authored rafaelfranca committed
    The application model will keep all of the Active Record configurations,
    instead of sending the configurations directly to ActiveRecord::Base.
    This means it will be possible to configure multiple applications if
    each application has its own ApplicationModel.
    
    Also, changing some tests to correspond to these changes.
  22. @carlosantoniodasilva

    Remove unused require

    carlosantoniodasilva authored
    This was used by the respond_to/respond_with implementation on this
    file, which is now extracted to the responders gem.
  23. @carlosantoniodasilva

    Remove respond_to/respond_with placeholder methods

    carlosantoniodasilva authored
    This functionality has been extracted to the responders gem.
  24. @carlosantoniodasilva
  25. @rafaelfranca
  26. @rafaelfranca
  27. @rafaelfranca
  28. @rafaelfranca
  29. @rafaelfranca
  30. @rafaelfranca
  31. @rafaelfranca
  32. @rafaelfranca
  33. @rafaelfranca

    Remove debugger support

    rafaelfranca authored
    bebugger doesn't work with Ruby 2.2 so we don't need to support it
    anymore
  34. @rafaelfranca
  35. @rafaelfranca

    Remove version conditional for find_template_paths

    rafaelfranca authored
    Now that we only support Ruby 2.2+ we don't need this conditional
    anymore
Something went wrong with that request. Please try again.