Ruby on Rails Community Forum

How do I style select options?

2
General
I have options for a select field from 2 sources (this years options and last years options). In the drop down list I would like to distinguish the options between the sources (e.g. this years opti...
William Jones replied
Solved

monitoring rails performance

0
Rails
Hello everybody, I want to share my gem https://github.com/igorkasyanchuk/rails_performance to monitor performance of Rails applications. It's similar to NewRelic or Datadog, but it's not sending ...
Igor Kasyanchuk posted

Phusion Passenger error on Hatchbox

5
Rails
Hello, I have just deployed my app successfully on Hatchbox. Its works perfectly but when I try to access a page via activeadmin, I get this error and I definitely don't understand it nor what do....
Houssein abil replied
Solved

How do I resolve this syntax error

2
Rails
Hi guys, I have this error and I don't understand what the error is. I'm using Rails 6 syntax error, unexpected tLABEL stripe_id: customer.id, ^~~~~~~~~~ /vagrant/Rails/stripe-test/ap...
Jim Miller replied

Cloned my project from Git and now have an Error accessing credentials.yml.enc

4
Rails
Hi all, I cloned my project to my laptop but when I try to access credentials.yml.enc with rails credentials:edit, I get this error: ***Couldn't decrypt config/credentials.yml.enc. Perhaps you pa...
Jim Miller replied

PAGY with Rails API Only

2
Rails
Hi All, I've built a Rails API and have a separate Nuxt/Vue app for my front end. Looking to add server side pagination with Pagy and was wondering how i best to call the next 'X' number of result...
Tim Dowling replied

Is there a service to handle inbound emails?

0
Rails
Hi community :), I coded an application manager where I can save all details about an applicant. But very often I get applications via email. I want to handle inbound emails. When someone sends me...
HannesMatthias posted

[Vue/Rails] Rich Text Editor - Possible XSS and how to safeguard?

1
General
So I'm working on an app where the Admin dashboard is built on Vue and backend is Rails. There are parts where the Admin can update some Rich Text content, and it will be rendered by Rails. But in ...
Chris Oliver replied

How do I display several posts in related "weeks"

1
General
Hello everyone,, I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked ...
Adam replied

Has anyone started using ruby 2.7?

1
General
Recently, I've been wondering what's the adoption of ruby 2.7. Has anyone here migrated a production app to 2.7? https://100001.onl/ https://1921681254.mx/ https://acc.onl/hotmail I've done some ru...
Seth Tucker replied

How do I add a new input to a form using AJAX

0
Rails
Hello! I'm trying to replace a Flatpickr input in a form using AJAX. I have to do this because Flatpickr does not currently support dynamic update of its attributes I can't find a way to pass the...
Romain posted

i am full stack MERN developer and expertize in nodejs so plz any one can guid me to ruby rails ??

0
Javascript
i am full stack MERN developer and expertize in nodejs so plz any one can guid me to ruby rails ??
MUHAMMAD ADIL RAZA posted

Is there some sort of reddit CSS guide?

0
General
Hello everyone,, I learned CSS when I was younger on Neopets and remember most of it, but I don't quite know what reddit calls everything/how attributes are named. Is there some sort of guide float...
Jassim posted

Heroku deployment failing

0
Rails
I am trying to deploy this app to heroku. i get this error with the precompiling asset pipeline. I tried removing jquery from my Gem file but the error persists. log: ... remote: Installing...
Hassanelashram posted

Recording Building a Rails Based Accounting System

2
General
Hi guys Recently added a video to the "reality tv" type of series I'm vlogging in youtube. It's not really a tutorial but rather a commentary / recording of how one would go about learning and bui...
Clay replied

How long will Rails 5 be supported?

1
Rails
I'm sorry if this is the wrong place for this question, but I wasn't sure where else to ask. Is there a timeline for how long Rails 5 will be supported?
Chris Oliver replied

Yukihiro Matsumoto: "Ruby is designed for humans, not machines"

0
Ruby
We’re thrilled that our good friend Yukihiro Matsumoto, creator of the Ruby programming language, has been able to join us at RubyRussia 2019 as a speaker for the second time, having previously spo...
Iurii Gurzhii posted

Capistrano, puma staging env keeps using production secrets

1
Rails
Question: When we run `bundler exec cap staging deploy` the application is still trying to pulling secrets for Production and not Staging. How can we debug this process to find why the application...
Chris Oliver replied

How do I handle the validation of associated objects?

0
Rails
I have a blog applications, in which user has_many blogs, blog has_many notes written by the user. And we have a note_relations(mapped to NoteRelation) table to keep the relation of two notes, if t...
jwjwy posted

Suddenly all JS Files concatinated in development

0
Rails
Hi all, I encounter a strange problem in my Rails 5 project. Suddenly all JS-Files are concatinated (but not minified) to one debug-application-xxxxx file. Before when worling in development enviro...
Andreas Ulrich posted

Learning Ruby on Rails? Join our newsletter.

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