David Kimura PRO
Joined 7/18/2015
Drifting Ruby Owner
Ruby Rogues Panelist
David Kimura PRO said over 4 years ago on Activity Feed with Public Activity :
  You could have a scheduled background job running which deletes records older than X months old. If this data is important and must be retained, you could look into moving it off to an archive database.

David Kimura PRO said over 4 years ago on In Depth with Docker Compose :
If anyone is wanting to use an Alpine version of a Ruby image, here's what I'm using. I've included some commented out lines which you can replace the postgresql-dev with the sqlite or mysql (mariadb) depending on the database you're using.

FROM ruby:2.6.6-alpine3.12
LABEL MAINTAINER=dave@k-innovations.net

# sqlite-dev \
# mariadb-dev \
RUN apk add --no-cache --update build-base \
  git \
  postgresql-dev \
  nodejs \
  yarn \
  tzdata \
  && rm -rf /var/cache/apk/*

RUN bundle config --global frozen 1

COPY Gemfile Gemfile.lock ./
RUN gem update --system
RUN gem install bundler
RUN bundle install -j $(nproc)

RUN mkdir -p /app
WORKDIR /app

This helped reduce the base image from 2GB to 1GB.

David Kimura PRO said over 4 years ago on FullCalendar with StimulusJS :
  Have a look at the CSS in the code at app/assets/stylesheets/application.css

The modal stuff isn't part of the Full Calendar ui, but some simple css can be used to create the modals. For a more complete solution, you should also have a cancel button which would then trigger for the modal to be closed.





David Kimura PRO said over 4 years ago on Escrow payments :
This episode should be released on July 26,2020.

David Kimura PRO said over 4 years ago on Creating a marketplace with Stripe Connect :
This episode should be released on July 26,2020.