Skip to content
View the-spectator's full-sized avatar

Block or report the-spectator

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
the-spectator/README.md

👋 Hi there!

I am Akshay Birajdar. I am a Full Stack developer from 🇮🇳

 Akshay Birajdar

Pinned Loading

  1. Dotfiles Dotfiles Public

    Config Dotfiles

    Ruby 2

  2. Introduce find_in_batches_with_order... Introduce find_in_batches_with_order for having find in batches with order
    1
    # Create file config/initializers/find_in_batches_with_order.rb with follwing code.
    2
    ActiveRecord::Batches.class_eval do
    3
      ## Only flat order structure is supported now
    4
      ## example: [:forename, :surname] is supported but [:forename, {surname: :asc}] is not supported
    5
      def find_in_batches_with_order(ids: nil, order: [], batch_size: 1000)
  3. rails rails Public

    Forked from rails/rails

    Ruby on Rails

    Ruby

  4. mina-deploy/mina mina-deploy/mina Public

    Blazing fast deployer and server automation tool

    Ruby 4.4k 478