
Improving Rails Credentials & Encrypted File Decryption Discussion
0
General

Curious about the opinions for others about the ease of managing javascript/styling with Rails 7.1
0
Rails
Are things working as you expect? Does anyone have any experience moving from Webpack to esbuild or importmaps? Have you done this with a non trivial application using various javascript libs and s...
Doug Mathews posted

How to use Omakase Rubocop Linter/Formatter Rules for Rails Discussion
4
General
What do you think about having a built-in linter that comes with Rails?
Firman replied

Setup MacOS 14 Sonoma Discussion
10
General
Hi Chris, I am doing this on Pub Beta 2, and I am getting this error.
configure: error: something wrong with LDFLAGS="-L/Users/pitosalas/.asdf/installs/ruby/3.0.6/lib "
No amount of googling has...
Emilio G replied

Integrate ActiveStorage to existing association system
0
Rails
I have attachment system inplace and thinking to integrate active storage with existing associations, I have polymorphic association and had_many through association, where as active storage using ...
sam posted

Custom Turbo Stream Actions Discussion
7
General
Great episode! Is there any convention or recommendation for managing the JS code instead of throwing it all in the `application.js`? Something like `app/javascript/stream_actions/console_log.js`, ...
Samuel Couillard replied

Using tailwind css in my rails app, patterned after your blog tutorial. How do I get rid of all the whitespace on each side of the page, I want to use the whole screen?
1
CSS
So I have modified by tailwind.config.js file as such:
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
...
Mike Cannon replied

Deploy rails 7.2+
2
Servers
Rails 7.2 dev containers include a compose file, enabling me to run Rails, PostgreSQL, and Redis locally with just Docker installed on my system.
So I created run: rails new --rails-version 7.2.0...
Greg S replied

Tracing Rails Console Command With Ruby IRB/Debug Discussion
1
General
Super useful, thanks!
cjilbert504 replied

Ping external website
2
Rails
What's the best way to do a ping with IndexNow like :
https://www.bing.com/indexnow?url=http://www.example.com/product.html&key=8baa3838e2774b34aaae330c5bfee7c4
formalexclusive replied

How to add Search in Rails using Meilisearch Discussion
8
General
Thank you, Chris.
Can we add aggregations in Meilisearch as we do in ElasticSearch?

Rails app to upload and view videos?
2
General
I'm buidling a rails app that needs to be able to allow users to upload videos and view them in the app. Is the best strategy to use Youtube or would you recommend a different approach? Do you ha...
Mike Cannon replied

Rails & Vue.js Trello Clone - Part 1 Discussion
34
General
Glad you decided to do this :)
don mclamb replied

There are no Phusion Passenger-served applications running whose paths begin with '/path/to/app/directory'
5
Servers
I am trying to deploy my rails 6 application on Ubuntu 18 server which has Nginx + passenger .
when I run cap production deploy
it tell me "There are no Phusion Passenger-served applications runn...
Eloi Riera Lanau replied

Link Pagination with Pagy Discussion
1
General
An alternative to handling the Pagy::OverflowError is setting the Pagy::DEFAULT[:overflow] to either :empty_page, or :last_page https://ddnexus.github.io/pagy/docs/extras/overflow/
George Kurobara Benjamin replied

Rails Application Structure Explained Discussion
6
General
Awesome! Lots of good information here! Curious to come back here and rewatch after some time. : )
Jeremy Watt replied

How to use Method Arguments with Before Actions in Rails Discussion
0
General

Base62 Encoding Short Codes Discussion
6
General
Hi Chris,
why the local variable result is treated as frozen?
Here is the error:
Error:
ShortCodeTest#test_encode_10:
FrozenError: can't modify frozen String: ""
app/models/short_code.rb:20:in ...
George Kurobara Benjamin replied

Multiple File Uploads with a nice JS interface?
1
General
Hello everyone,,
I am going with an 'Attachment' model which belongs to other models (just one for now).
https://snaptube.cam/ https://syncnet.onl/telegram-web/ [9apps](https://9apps.cam/)
The 'Att...