Coder Social home page Coder Social logo

advanced-queries's Introduction

Advanced Queries

Welcome to my Advanced Queries repo! This repo is a companion to the video series Advanced ActiveRecord Querying from thoughtbot's Upcase. It aims to help developers follow along with the videos and experiment with the queries discussed in the series as well as their own.

Installation

To clone and run this project locally, you'll need Git installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/tacit7/advanced-queries.git

# Go into the repository
$ cd advanced-queries

# Install dependencies (if any)
$ bundle install

Usage

To help you get started quickly, there are seed files for each part of the series. These seeds set up the necessary data for you to follow along with the examples:

rake seed:belongs_to # create a db with data from the belongs_to article
rake seed:has_many # create a db with data from the has_many article
rake seed:custom_joins # create a db with data from the custom joins article
rake seed:aggregations # create a db with data from the aggregations article

Once you have the repository cloned, dependencies installed, and your database seeded, you can start exploring the examples and tutorials provided. Each section in the repository is designed to build on the previous one, guiding you through increasingly complex queries. The examples align with the content of the video series, enabling you to follow along and experiment with the queries discussed.

Feel free to modify the examples and run them against your own database to see how they work in practice.

advanced-queries's People

Contributors

tacit7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.