Rendering simple_calendar content using Turbo Frames
2
Rails
Hi there,
It's a great pleasure to use this gem which is really handy ! I started using Turbo recently on my application and still had troubles wrapping my head around... Idea here is not only to ...
spacerobotTR replied
Creating an application Multi Language
3
Rails
Hi, good evening.
Cris, I would like to create a system which will suport many language. For instance, I would like to be able to access the languages using URL like:
https://www.mysite.com/us/
h...
Is there anyone who could offer advice or help with Generating a PDF Within the Program?
7
Rails
Hello, I am a college student working on a senior capstone that utilizes the use of Ruby on Rails. I am attempting to generate a PDF within the program, and I am stuck. Is there anyone who could of...
unicorn takes a long time to start up with capistrano
0
Rails
After ruby update from 2.7.5 to 3.1.2
I've run command cap production unicorn:stop then cap production unicorn:start
it's takes about 9 minutes to start
gem 'capistrano3-unicorn', '~> 0.2.1'
```...
Dmitry Kosikov posted
error starting new jumpstart app
1
Rails
Hi
I just created new rails app using free jumpstart template
https://github.com/excid3/jumpstart
I receive an error when starting the. project about missing build script
✘ myapp maste...
Randy replied
Handle ActionController::UnknownFormat in Devise::SessionsController#new
0
Rails
Hello, I'm new in rails and I facing this problem: After invite a new member the system generates an invitation link. This link invites to create an account, once the account is created the new mem...
Julio Benavides posted
Will_paginate problems
1
Rails
Hi ive been building a new web app based on michael hartl tutorial but im having problems with the will_paginate tests. When i load all my users it will display every one of them so of course ...
Select cover image from ActionText attachments
0
Rails
I wanted to add a “cover image” feature to a blog. I’m already using ActionText for the content.
I’m not sure if this is a good idea or if there are better ways to do it. I’m going to explain what...
gorka posted
I'm trying to make a nested form but for some reason, I got problems with the strong params, Any help, please?
0
Rails
I'm getting this error (i think that is for the strong params) here is how it looks all the stuff https://imgur.com/a/Nf8Ba61, if anyone could help me, would be awesome :D
Sebastian Guevara posted
Why is this image_tag not working?
2
Rails
If I try and put this code:
```
<% if notification.actor.avatar.attached? %>
<%= image_tag notification.actor.avatar.variant(combine_options: {resize: '150x150^', extent: '150x150', ...
Aproplat replied
Solved
I am facing problem in running rails server in ubuntu
1
Rails
Hi folks! As a rails newbie, I am facing some issues in spinning up my rails server. By the way, I have a windows machine and I am creating a linux subsystem by ubuntu. Firstly, its showing my webp...
How do I stream audio using rails
0
Rails
Hi a friend of mine wants me to make an app where she can uploads her podcasts / songs and filter it through some categories, I would like to know if it's better to use active storage and some JS ...
How do I use the ShardSelector Middleware?
0
Rails
Would be great to get a video on ShardSelector Middleware. Maybe how to do the Basecamp account in url but with ShardSelector Middleware.
Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6
2
Rails
I have been reading articles/forums and followed some guides on how to set it up however I'm still having trouble running bootstrap and jquery.
Installed bootstrap, jquery and easyAutocomplete via...
jessezhang replied
How to add more than 10 callback urls with omniauth-twitter ?
0
Rails
Hi everyone,
We use twitter omniauth in our application and we have more than 10 callback urls, but twitter has a limit of 10 callback urls according to their policy.
I found this on stackoverflow...
Taoufik Mejri posted
How should I bundle stimulus_reflex with esbuild in Rails 7
3
Rails
When I use webpacker gem, it is so easy to install stimulus reflex using stimulus_reflex gem in Rails 6.
But in Rails 7, some problems occurs as follows:
```
$ bundle add stimulus_reflex
$ rails s...
Ole Torp replied
Is there a way to benchmark the time spent on each callbacks for a ActiveRecord?
0
Rails
I have 20+ before_save callbacks for a active record. Is there a way in rails to measure the time spent on each callbacks while saving a object into the store?
Arul posted
ActionText attachments not visible in Trix editor after domain migration
3
Rails
Hi All,
We recently moved domains and have noticed an issue with how ActionText attachments are displayed in the Trix editor. They display correctly in the show view, just not in the editor.
Arti...
Emiliano López replied
How do I configure GlobalID in a Rails app?
1
Rails
I am working through an elaboration on the recent screencast, using GlobalID to build references to polymorphic associations, but I need to be able to take advantage of the GlobalID.app= method, an...
Walter Davis replied
Solved
How do i wrap calls to update_attributes via transaction?
0
Rails
I have two models User/Car. User can have many Cars. How do i prevent updates to cars if my user object is invalid? Currently Rails does not wrap the attribute update(cars) in a same transaction a...
Arul posted