A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.
posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecord| import axios from 'axios'; | |
| import {toCamelCase, toSnakeCase} from '../util'; | |
| import qs from 'qs'; | |
| // You can intercept requests or responses before they are handled by then or catch. | |
| // https://github.com/axios/axios#interceptors | |
| // Add a response interceptor and camelCase return data (for JS) | |
| axios.interceptors.response.use((response) => { | |
| response.data = toCamelCase(response.data); |
| RUN ["apt-get", "update"] | |
| RUN ["apt-get", "install", "-y", "zsh"] | |
| RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh || true | |
| # docker exec -it my-app-container /bin/zsh |
| import webpack from "webpack"; | |
| import ExtractTextPlugin from "extract-text-webpack-plugin"; | |
| import CopyWebpackPlugin from "copy-webpack-plugin"; | |
| import WebpackNotifierPlugin from "webpack-notifier"; | |
| const extractSass = new ExtractTextPlugin({ | |
| filename: "css/app.css" | |
| }); | |
| export default { |