
JohnS
Modern CSS with Tailwind: can’t setup the Rails source code
I can’t setup the Rails source code. This happens in a working directory containing multiple (postgres) Rails apps.
With:
ruby-3.0.0
sqlite3 3.24.0
bin/setup
[...]
== Preparing database ==
rails aborted!
NoMethodError: undefined method `enums' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x00007fcb7049a1e0
rails s starts up, but i get:
ActionView::SyntaxErrorInTemplate in HomeController#intro
Encountered a syntax error while rendering template: check <%# Version 1 %>
Popular Prag Prog topics

Following the steps described in Chapter 6 of the book, I’m stuck with running the migration as described on page 84:
bundle exec sequel...
New

Python Testing With Pytest - Chapter 2, warnings for “unregistered custom marks”
While running the smoke tests in Chapter 2, I get these...
New

When I try the command to create a pair of migration files I get an error.
user=> (create-migration "guestbook")
Execution error (Ill...
New

Title: Hands-On Rust (Chapter 11: prefab)
Just played a couple of amulet-less games. With a bit of debugging, I believe that your can_p...
New

Hi @Margaret ,
On page VII the book tells us the example and snippets will be all using Elixir version 1.11
But on page 3 almost the en...
New

In general, the book isn’t yet updated for Phoenix version 1.6. On page 18 of the book, the authors indicate that an auto generated of ro...
New

I’m a newbie to Rails 7 and have hit an issue with the bin/Dev script mentioned on pages 112-113.
Iteration A1 - Seeing the list of prod...
New

Docker-Machine became part of the Docker Toolbox, which was deprecated in 2020, long after Docker Desktop supported Docker Engine nativel...
New

@mfazio23
I’ve applied the changes from Chapter 5 of the book and everything builds correctly and runs. But, when I try to start a game,...
New

From page 13:
On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New
Other popular topics

Any thoughts on Svelte?
Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue...
New

Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face:
Perhaps if there’s enough peop...
New

Just done a fresh install of macOS Big Sur and on installing Erlang I am getting:
asdf install erlang 23.1.2
Configure failed.
checking ...
New

In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first:
asdf plugin-upd...
New

A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New

Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New

The File System Access API with Origin Private File System.
WebKit supports new API that makes it possible for web apps to create, open,...
New
New

This is cool!
DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON
We just witnessed something incredible: the largest open-s...
New

This is a very quick guide, you just need to:
Download LM Studio: https://lmstudio.ai/
Click on search
Type DeepSeek, then select the o...
New
Latest in PragProg
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /erlang
- /ruby
- /opensuse
- /phoenix
- /python
- /kotlin
- /rails
- /wasm
- /clojure
- /keyboards
- /react
- /go
- /security
- /js
- /centos
- /react-native
- /typescript
- /vim
- /swift
- /haskell
- /svelte
- /quarkus
- /emacs
- /debian
- /v
- /tailwind
- /vapor
- /gleam
- /django
- /nodejs
- /crystal
- /arch-linux
- /assemblyscript
- /kubuntu
- /c-plus-plus
- /fable
- /vscode
- /flutter
- /java
- /deno
- /laravel
- /symfony
- /agda
- /nixos
- /scala
- /actix
- /julia
- /ocaml
- /elm
- /ubuntu
- /manjaro
- /slackware
- /zig
- /spring
- /angular
- /preact
- /html
- /nerves