New push to rails4 at Diaspora

  • Commit: turn parameter wrapping for AR::B#to_json back on by Jonne Haß

  • Commit: fix PostsController specs by using explicit form of the sign_in helper by Jonne Haß

  • Commit: Do not update_attributes with a nil id by Jonne Haß

    Rails 4 accepts that as a parameter thus setting the id to nil
    thus thinking it’d be a new record when we just want to update
    it

  • Commit: Fix and simplify current_page? check on profile page by Jonne Haß

  • Commit: Directly query photos when doing an update_all by Jonne Haß

    For some reason it doesn’t correctly set the bind variables
    when called through an association with non-standard
    keys. Probably a Rails bug.

  • Commit: Do not call self-modifying Enumerable methods on AR::Relation objects by Jonne Haß

  • Commit: before_action by Jonne Haß

  • Commit: switch to simple_captcha2 by Jonne Haß

  • Commit: updated before_filters to before_actions as recommended for rails 4 by Niall Paterson

  • Commit: make aspect membership controller specs green by Jonne Haß

  • Commit: raise original exception in i18n interpolation fallback middleware by Jonne Haß

  • Commit: do not escape email subjects by Jonne Haß

  • Commit: always pass desired format in specs unless it’s html by Jonne Haß

  • Commit: Fix account deleter by not relying on protected_atrributes by Jonne Haß

  • Commit: Remove :without_protection from call in the posts fetcher and fix a couple hundreds specs as a side effect by Jonne Haß

    Heisenbugs ftw.

  • Commit: Fix expectations for changes in generated HTML by Jonne Haß

    Just a minor change, supplied attributes now go before the
    standard ones

  • Commit: Filter :id in User.build for now by Jonne Haß

    Rails 4 seem to allow setting the id through supplied parameters
    The controllers ported to strong_parameters should guard against
    attacks over this vector, but I didn’t want to remove the specs
    that test this here

  • Commit: do not pass relations to a method that expects a set of aspects ids or a single aspect by Jonne Haß

  • Commit: replace deprecated disable_with option by Jonne Haß

  • Commit: replace deprecated usages for all by Jonne Haß

  • Commit: Remove attr_accessible from OpenGraphCache by Jonne Haß

  • Commit: Fix “prepared statements” errors by Jonne Haß

    See https://coderwall.com/p/45ombq

  • Commit: make assets:precompile work by Jonne Haß

  • Commit: make status message controller spec pass and deprecation free by Jonne Haß

  • Commit: remove deprecated scoped by Jonne Haß

  • Commit: access connection through class by Jonne Haß

  • Commit: remove conditions on association deprecation warnings by Jonne Haß

  • Commit: replace deprecated scope syntax and unify it by Jonne Haß

  • Commit: replace deprecated finder and finder_options syntax by Jonne Haß

  • Commit: make everything boot again by Jonne Haß

  • Commit: generate binstubs by Jonne Haß

  • Commit: remove strong_parameters initializer by Jonne Haß

  • Commit: update to rails 4 by Jonne Haß

#diaspora_push #diaspora_rails4_push