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...
Affiliate Program Gems
12
General
I would love a tutorial on creating an affiliate program... Anyone have any gems they can recommend?
Brent C replied
Trix editor in react native
2
Javascript
Anyone have suggestions for how to implement the trix editor in a react native front end? The key is I want to maintain trix’s mention functionality and the attachment of images. Ultimately I’d li...
davidlbean replied
Wrapping Up Our URL Shortener Discussion
4
General
Congrats to everyone who has made it this far! The URL shortener was a great little project and I'm sure there's lots more improvements you can add to it.
What did you think of this project?
Chris Oliver replied
Recording pattern (Basecamp 3)
7
Rails
Has anyone tried to unravel the recording pattern used in Basecamp 3 ?
You can find breadcrumbs in the "On Writing Software Well" video series (https://www.youtube.com/playlist?list=PL9wALaIpe0Py6...
Patrick replied