This decouples a deployment from completed migrations. Give us control of the data manipulation proccess by encapsulatin it in on place. need to remember to:
- Run it in one of the ways bellow: a. Add this rake task the deployment script or;
This decouples a deployment from completed migrations. Give us control of the data manipulation proccess by encapsulatin it in on place. need to remember to:
and dont forget | |
config.eager_load_paths << Rails.root.join('lib') |
This is a memo for setting up prettier, eslint, husky
https://prettier.io/docs/en/install.html
yarn add --dev --exact prettier
I wrote this gist because I felt that the Rails documentation was lacking a description of ajax requests.
There are various ways to send ajax requests in Rails.
Rails.ajax
(No Official docs and request for docs)import React from 'react' | |
import { blue } from '@material-ui/core/colors' | |
export default class Iframe extends React.PureComponent { | |
componentDidMount () { | |
window.iframely && window.iframely.load() | |
} | |
getIframelyHtml = () => { | |
const { node } = this.props |