Skip to contentSkip to footer
  • Community
  • Jobs
  • Companies
  • Salaries
  • For employers
      Notifications

      Loading...

      Elevate your career

      Discover your earning potential, land dream jobs, and share work-life insights anonymously.

      employer cover photo
      employer logo
      employer logo

      Order

      Is this your company?

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: Order reviews | Order jobs | Order salaries | Order benefits
      Order interviewsOrder Senior Software Engineer interviewsOrder interview


      Glassdoor

      • About / Press
      • Awards
      • Blog
      • Research
      • Contact Us
      • Guides

      Employers

      • Free Employer Account
      • Employer Centre
      • Employers Blog

      Information

      • Help
      • Guidelines
      • Terms of Use
      • Privacy and Ad Choices
      • Do Not Sell Or Share My Information
      • Cookie Consent Tool
      • Security

      Work With Us

      • Advertisers
      • Careers
      Download the App

      • Browse by:
      • Companies
      • Jobs
      • Locations
      • Communities
      • Recent posts

      Copyright © 2008-2026. Glassdoor LLC. "Glassdoor," "Worklife Pro," "Bowls" and logo are proprietary trademarks of Glassdoor LLC.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Bowls

      Get actionable career advice tailored to you by joining more bowls.

      Followed companies

      Stay ahead in opportunities and insider tips by following your dream companies.

      Job searches

      Get personalised job recommendations and updates by starting your searches.

      Senior Software Engineer Interview

      17 Oct 2023
      Anonymous interview candidate
      Declined offer
      Negative experience
      Easy interview

      Application

      I interviewed at Order

      Interview

      The company's interview process starts with a phone screening, followed by a take-home assignment, and then an onsite visit. They appear to prioritize interviewing a large volume of engineers, initially not displaying high selectivity in their approach.

      Interview questions [1]

      Question 1

      Review this: class DocumentController < ApplicationController before_action :authenticate def index if /[0-9]+/.match?(params[:q]) render json: Document.find params[:q] elsif /^[A-Za-z]+/.match?(params[:q]) render json: Document.where("name LIKE #{patams[:q]}") else render json: Document.all end end def show org_id = params[:org] id = params[:id] doc = Document.find_by organization_id: org_id, id: id end def create doc = Document.build params[:document] if doc.save params[:attachments].each do |attachment_params| begin url = GcsUploadService.upload_attachments!(doc.id, attachment_params) unless url.blank? Attachment.create attachment_params.merge({url: url}) end rescue Exception => e render json: { errors: e }, status: :no_acceptable end end render json: doc else render json: { errors: doc.errors }, status: :not_acceptable end end def update doc = Document.includes(:attachments).find params[:document][:id] if params[:document].key?(:attachments) params[:document][:attachments].each do |attachment| unless doc.attachments.pluck(:id).includes?(attachment.id) attachment.destroy end end end render json: doc.update(params[:document]) end def destroy doc = Document.find params[:id] doc.attachments.each do |a| a.delete end head :no_content, status: :success end end
      Answer question
      1