Carrierwave Backgrounder in Rails 5.2?

0
Rails
I have an image uploader on a form, and images upload fine without the background processing. Since moving to Heroku, the larger source images often time out, so I'm looking to move this to a backg...
John Athayde posted

How do I combine these two buttons

0
Rails
im trying to combine the paypal button and the f.submit button but have no idea How to get there Is there any better suggestion ` // Render the PayPal button int...
dinesh124 posted

How do I find a records based on contents of a has_many :through join?

8
Rails
I think I've been at this problem for too long and the obvious answer has evaded me. Say you have students, classes (klass for ruby's sake), and enrollements as the join between them. ```ruby cla...
Peter Marcano replied
Solved

How Can Unstall Ruby On Rails on Ubuntu 16.04 Xenial Xerus

1
Rails
How Can Unstall Ruby On Rails on Ubuntu 16.04 Xenial Xerus
Matt Walston replied

Unable to configure cancancan with active_admin in rails

0
Rails
I am trying to make a blog website. I am using `active_admin` and `cancancan` gem. Two controllers I have made are `Post`, `Category`. **posts_controller.rb** ``` class PostsController < Inher...
pushpam kumar posted

Using Rails API for Angular and iOS, with authentication

0
Rails
We have a Rails API that was used with Angular, we previously used the devise angular authentication plugin. With our new iOS app, we're having difficult trying to figure out how to integrate rail...
Jake Meier posted

Rails + Javascript question

1
Rails
Hey guys, I have an app for generating orders containg products. I'm currently using a “cart” through table that helps me connect both orders and products. I would like to have a list of product...
pupdogg replied
Solved

Preventing XSS in a Rails app, accepted architecture?

0
Rails
I've read and understand the great ways Rails sanitizes data when going from server to client, but I have a question that I would love to get some guidance/input on. Recently it was discovered the...
Mark Kadlec posted

I am getting this "Rails ExecJS::ProgramError in Pages#home"

0
Rails
Hello, I am getting this "Rails ExecJS::ProgramError in Pages#home" error in browser, when i go to the root path which is pages#home. I am using windows 10. untill i dont add the bootstrap it work...
dev posted

How to use LIKE to query a jsonb field

0
Rails
Hi guys, am really stuck with this, I have a jonb field called occurrences, and one of my records has this on it : ``` [{"occurs_on"=>"2019-02-04 23:00:00 UTC", "status"=>"none"}, {"occurs_...
michel med posted

Chris, I was wondering what your thoughts were on ROR and how you think the future for it will be.

0
Rails
I deal with 5-7 languages every week (out of necessity not desire) and was wondering how you felt about the future long-term success of ROR would play out. My take is that the apps that I build f...
Brandon Buteaux posted

How to debounce ActiveJobs?

1
Rails
How can I debounce jobs in ActiveJob? Why I need this: Events in my Rails app can trigger the same job independently from multiple places. But I want this job to run only once – only running the l...
Chris Oliver replied

Pagy Frontend Extra MAterialize

1
Rails
Hi Chris, I followed your toturial of pagination with Pagy gem, all is fine until when I add the extra frontend materialize. I did this: 1. Create a pagy.rb file into config/initializers folder 2...
Domizio Demichelis replied

Would love some feedback/thoughts!

0
Rails
Hey everyone, I just finished this article on Rails advantages in 2019! I would love to know your thoughts and comments! https://snipcart.com/blog/rails-advantages Thanks!
Nathan Thompson posted

Would love some feedback/thoughts!

0
Rails
Hey everyone, I recently worked with a dev on our team to write an article on Ruby on Rails and I would love thoughts/feedback since I have another article coming out this week (which is more over...
Nathan Thompson posted

How do I use includes to return all columns of associated table?

1
Rails
I hope someone here can help me. There's a lot to ActiveRecord I'm yet to understand and I'm a little lost at the moment. I have three models. `Issue`, `Language`, `Labels`. An issue has a langua...
Oliver replied

Using a Custom Constraint to Redirect

0
Rails
How would you set up a custom constraint to redirect in the absence of an ENV. eg: If a certain set of ENVs are missing, it would redirect you to an error page using a custom route. If the envs ar...
Luis Mejia posted

Nested attributes permit

2
Rails
Hey out there, i am sorry to bother you with my stupid question, but it is important for me, and unfortunately I am not able to find an answer myself. I have tried to conduct the documentation, ...
Sebastian Edler replied

Bootstrap and Vue?

0
Rails
Which way is best to implement **Bootstrap and Vue in Rails 5.2**? Keep the original Bootstrap4/jQuery sass lineup and use Vue where it is needed or a setup with Bootstrap-Vue ( https://bootstrap-v...
fregadetto posted

rails link_to_if controller, action and format exist

1
Rails
I am trying to dynamically render some links to the index action on a range of controllers. Essentially just create a table of all my models with a count of their records and a link_to the index p...
David Hill replied

Want to stay up-to-date with Ruby on Rails?

Join 90,472+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.