Ruby on Rails Community Forum

Date range option

0
Rails
Can any one tell me how to provide a Date Range option on one of the pages of my project???What changes needed to be done in index file and corresponding controller to show it?
vinit rawat posted

Provide sort option

0
Rails
How can i provide the sorting feature on all the pages of my project dashboard??
vinit rawat posted

How to get rid of a legacy app?

0
General
Hello, i built my first rails app 6 years ago and there is a lot of things I want to get rid of. The app is still running and actually generating revenue! But it is basically not maintainable anym...
Fabian Hallstein posted

Forcing a file to download instead of displaying in the browser

3
General
I've got a website where users can upload things such as a mp3 and the files are being stored on Amazon S3. If a user clicks the file it just seems to open as a streaming file in the browser. I c...
Chris Oliver replied

Facing error while installing bundle

1
General
Hi There, I'm facing an issue while installing bundle, below is the error message - An error occurred while installing pg (1.2.3), and Bundler cannot continue. In Gemfile: pg Could you please h...
Vorkosigan76 replied

How Cross-Site Request Forgery (CSRF) Works in Ruby on Rails Discussion

0
General
nice!

Creating a Blog with Images ins Posts

3
Rails
Hey folks, iam very new to Ruby on Rails but iam trying to improove my skills. I want to write a little blog application on rails where i should have the ability to create posts. I followed a pret...

Authentication in 2021

2
Gems / Libraries
Devise seems to be very popular among the Rails communities and I was wondering why Auth0, Okta, Cognito (AWS) or Firebase, etc. were not that much used to authenticate and manage users in Rails ap...

How do I show the keyboard in a web console on an i[Phone|Pad]

0
Testing
Hi all, so I know how I can _allow displaying the web console_ on a mobile device (iPhone or iPad in my case) by putting ``` config.web_console.whitelisted_ips = %w(0.0.0.0/0 ::/0) ``` in `confi...
Stephan Kämper posted

gem_group in application template

0
Rails
Is there a a way to use ``` gem_group :development do ... end ``` ``` gem_group :development, :test do ... end ``` in application template file without duplicating those groups ...
dk posted

How do I setup noticed gem to work with act as tenant gem?

0
Rails
Hello everyone 👋 I'm using act as tenant gem and I want to separate notifications based on that, I am using noticed gem for notification, when I followed Chris Oliver tutorial on YouTube on how t...
ash posted

My question: Who else here loves GoRails as much as I do and appreciates to no end what Chris Oliver has created for us here?

5
Site Feedback
Just wanted to truly say, "THANK YOU" to Chris Oliver. If it weren't for this amazing community, my team and I would be lost. It's because of him, and the wonderful people like you reading this w...

Rails App production(Droplet DigitalOcean) Assets Issue

0
Rails
Hi, So i deployed my rails app on the digitalocean droplet, its using webpacker. So when i go to my site, css and js are not working while i get this in the console: "rails_app/packs/css/applicatio...
SLLAF posted

How do i display devise sign_up page error messages ?

0
Rails
I have a problem that whenever iam trying to sign_up and leave all fields empty i don't get any errors like "password can't be empty".. but after refreshing the page and resubmit the same data i ge...
sasky621 posted

Eager Loading on Rails 5.1

3
Rails
Hi all, Seems that the eager loding doen't work in my application. Please let me know whether I need to enable or configure anything. Here is th code for association mappings. ``` cl...
Ratnakar replied

Inline Editing with Turbo Frames in Rails Discussion

0
General

Handle Race Conditions with Pessimistic Locking Discussion

0
General
Very nice. This is one of those features that are low profile but could be very useful in those specific cases.
Ideaware posted

Setup MacOS 12 Monterey Discussion

0
General

How to display multi-day events in SimpleCalendar?

20
Gems / Libraries
Hi there, Not sure if i've missed something, but i'm not able to get multi-day events to show over the date range using SimpleCalendar. From what I've read on the Gem homepage, I've passed in the...
Nikodem Gorak replied

Chrome Only - getElementsByClassName error

0
Javascript
I am hoping someone might be able to shed some light on this issue. I have this JS code (below) located in packs -> application.js. It grabs the class name and adds additional class. The divisio...
Mountaindog posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.