-
```
$docker-compose run web rake db:create db:migrate db:seed
...
ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`
/usr/local/bu…
noraj updated
4 years ago
-
I'm going mad.
In most of my Rspec specs I want observers to be disabled, except for some. But
ActiveRecord::Base.observers.disable :all
is not working.
It goes through the mo…
-
rake db:migrate is unhappy with https://github.com/rism-digital/muscat/blob/cca3826581f4b6332ee889bd37951a41f7945619/db/migrate/20140401072119_create_catalogues.rb#L37:
`-- execute("ALTER TABLE cat…
-
When running commands using spring, I'm unable to obtain a connection. Without spring everything works great. I imagine this has to do with how spring makes and holds database connections. There was a…
-
Using the Dockerfile below, the SQLite migration seems to fail:
```dockerfile
FROM ruby:2.5.3
ENV RAILS_ENV production
RUN apt-get install git
RUN curl -sL https://deb.nodesource.com/setu…
-
I'm following the tutorial at http://www.jeffthomas.xyz/integration-tests-with-stripe/ but it's not working.
In brief:
```
gem 'stripe', '1.20.1'
group :test do
gem 'thin'
gem 'strip…
-
Starting homeland_postgresql ...
Starting homeland_postgresql ... done
Starting homeland_elasticsearch ... done
Starting homeland_postgresql ...
Starting homeland_postgresql ... done
Starting h…
-
I have two tables selected from Oracle database. For one of these ID column value for last record is written back to state file as text
```
---
last_records:
app.application_log_vw:
id: '…
-
For example, being able to optionally choose between using gpt-3.5 for something, using gpt-4-turbo for others, or between using claude-haiku for some and claude-opus for others if you want, but for t…
-
I keep expecting this to work because it does for literally every other association type. and sure I can just use `delegate :id, to: :[association], prefix: true` but it feels like it's missing.
I…