Deploy Action Cable & Redis to production

0
Rails
I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guide here on how to deploy ActionCable to production seems very outda...
Maximilian Kirsch posted

How do I deploy Spree Commerce to Heroku?

7
General
Who can direct me to a guide on how to deploy Spree Commerce to Heroku? I would really appreciate.
merolaagi replied

Sending Alerts Based on Threshold

0
Rails
I am building an app wherein user can create an alert based on current value of average or sum of table column. For example if SUM of column A is < 100 a notification should be sent to receipie...
Paulo Avelino posted

EAV Rails way?

4
Rails
Hi Team, I was trying to explore possibility of using EAV (Entity-Attribute-Value) pattern in our application. We are a ecommerce solution and would need Product variants to be captured, I did som...
Anand Padia replied

JWT Authentication using Devise

0
Rails
I've been looking for a really god material about how to create Authentication using JWT and Devise, after that consume that with ReactJS (Mainly the rails part, but the react is a plus) Some mate...
Carlos Orellana posted

Multi select form & DB search

1
General
Hi there, I want to allow a user to select multiple brands and teams in a select form field. I am using the user's input to create CSV through running a query. So far I only can query single tea...
Chris Oliver replied
Solved

Announcing the GoRails Forum

4
General
Hey everyone! Today I am releasing the GoRails forum. This is the place you can turn when you need advice for how to design a feature or refactor your code. I'll be answering questions here and di...
Chris Oliver replied

How do i use a username instead of an email?

2
Rails
I am watching the series and really enjoying it. I am up to [Part 11](https://gorails.com/episodes/rails-for-beginners-part-11-creating-the-user-model) where you create the user model. Is there a w...
Michael Lynch replied

Rails 6 With Full Vue Frontend vs Sprinkled Vue Components

4
Rails
I'm struggling to decide how best to integrate Vue in my Rails 6 app. 🤔 I've read [some tutorials](https://web-crunch.com/ruby-on-rails-api-vue-js/) that suggest using Rails as API with Vue as fro...
Tabish Iqbal replied

How to create a progress bar with vertical lines between elements

1
General
I'm having a little trouble creating a css effect and don't even know what to Google to find code snippets. I have been tasked with creating a progress bar. The bar has 3 steps. Each step is repres...
melwkin replied

SQL Learning Path - Having Statements Discussion

4
General
I have a question about replacing `store_id` with `stores.name` if we add JOIN to the query (4:50 for example). Would it be valid replacement if there are multiple stores with the same name but obv...
Mark Kavanagh replied

Devise multiples scopes

1
Rails
Hi !, i'am using devise in rails, and i want to use devise for multiples scopes such as User, Member, Partner, etc..., But i would like to separete them both into diferents models, and there contro...
Jacqueline Lavender replied

Can anyone suggest me best Ruby on Rails 5 book?

8
Rails
I have watched few video tutorials of gorails and codeschools. I think it will be better if I read a book. Can anyone suggest me a ruby on rails 5 book which will helpful for beginner? 

Rails for Beginners Part 10: Setting up a Git repository and Flash messages Discussion

4
General
It would be cool if you stop interrupting the other person when he is trying to speak
Filipe Carneiro replied

Help with Rails Application in Apache

0
Rails
I need help with getting a rails application working with Apache. I have the following virtual host configuration ServerName concerto DocumentRoot /usr/share/concerto/public RackEnv ...
Keith posted

Render partial via AJAX without JQuery

9
Javascript
I've got a standard Comment.model - I'm trying to use AJAX to render partial. Using JQuery works but I'm trying to use VanillaJS only. The AJAX is working but it's rendering the markup inside of th...
Solved

Method returns true in a rails app controller, but returns false in resque worker when File.exists?

1
Rails
I want to pass the path this to a resque worker which will act upon this file. This worker is unable to find this file and the File.exists? Return a false even though the same method returns true i...
sailaja replied

Setup MacOS 10.10 Yosemite Discussion

141
General
When I try to install Homebrew, I get:csu:~$ ruby -e "$(curl -fsSL https://raw.github.com/Home..."dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib Referenced from: /Users/christophersu/.rv...
Someone replied

How do i track a course progress?

4
General
Hey Chris, I have been trying to build a onemonth like sample website. How do i track the user's progress for each of his course. Just like onemonth all these courses have multiple episodes, and i ...
Jay Kapoor 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

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

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

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