Ruby on Rails Community Forum
Can you make an episode on Recurring Events- recurring_select + ice_cube
17
Site Feedback
Can you make an episode on this! I've gotten to the point of adding recurrence rules, but having trouble generating and showing events that are recurring on future dates the same way they appear r...
Francisco Quinones replied
GroupChat ActionCable Part 6 coffee and Chrome compatibility
3
General
Running into a strange error, everything works perfectly fine in Safari/Firefox. However, when launching in Chrome functionality completely halts after adding ```notifications.coffee```. Is there...
Chris Oliver replied
Solved
I'm building a widget that needs to dynamically load my html files (similar to an SPA)
0
General
EDIT: Solved
Masud Hossain posted
Solved
How return has_many with array instead of object
3
General
Have a way to a "has_many" return a array instead of object?
```rb
class UserSerializer < ActiveModel::Serializer
attributes :id, :name, :nickname, :image, :roles
has_many :roles
end
```
...
Bruno Wego replied
Solved
Multiple role based authorization
1
General
Hello friends, I have a handful of doubts in an interesting senario, I hope can give me a little help.
My application uses angular with [ng-token-auth](https://github.com/lynndylanhurley/ng-token-...
Jeremy Bray replied
What's the best way to install a robust system which checks if an event is over-booked in Rails?
1
General
I need to create a system for my Events site that monitors the number of bookings being taken to ensure an Event does not become over-subscribed. What is the most effective (DRY) way to do this?
...
Jacob Montgomery replied
Question on ActionCable Group Chat part 4, development.rb fix for redis
5
General
Saw in the comments the fix for ```(REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)``` however I added the following to my ```development.rb```:
```
config.action_cable.a...
Chris Oliver replied
Solved
ActionCable Part 3: can't write unknown attribute `user_id`, what am I missing?
2
General
Having some trouble figuring out what I'm missing with submitting a message in the chatroom, I get the error for my ```messages_controller.rb``` saying that ```can't write unknown attribute `user_i...
Chris Oliver replied
Solved
Create a welcome page with a tour/get started
3
General
Hi, I was thinking of a way when the user login for the first time they get redirect to a welcome page where they take some steps into maybe a tour or fill some important fields to getting started....
Alan Reid replied
Solved
How can I allow my users to configure their account (created w/ devise) with their smtp server, so they can send & recieve emails in my app?
2
General
Are there any ruby gems for this specific problem? Or should I just use ActionMailer from Rails? If ActionMailer are there any tutorials on this topic online?
Drilon Buzuku replied
Solved
Error updating nokogiri and autoprefixer using Capistrano -- local/production gem mismatch
6
General
I've been using Capistrano to deploy my rails app and I've come across an issue trying to update 2 gems. Below at the bottom is the message I get for nokogiri. The other gem I'm trying to update on...
Chris Oliver replied
Solved
How do I allow viewing of a paranoia soft-deleted show page?
6
General
I added paranoia gem to my cms application from your soft delete tutorial. I would like users to still be able to access the show page of soft deleted items -- this is where I would add a restore ...
Chris Oliver replied
Can products like APPSUMO or Sumome be built using rails?
2
General
So say i wanna build a website widget where people can install it with a few lines of codes. And in that widget users are able to sign up for my website or see certain information that's on my webs...
Masud Hossain replied
How do I add Ransack in my posts controller?
11
General
I am new to rails so this might be an easy question. I am trying to figure out the best way to add ransack to my posts index action.
# Ransack
@q = Post.ransack(params[:q])
@posts = @q.result(di...
Chris Oliver replied
How do I read an incoming webhook post in Rails 4.2
1
General
I have something along the lines of this:
case request.request_parameters.keys.first
when "new_subscription_notification"
when "canceled_subscription_notification"
deactivate_subscription...
Chris Oliver replied
Which gem is the best for dynamic image resizing from an S3 URL?
2
General
Hi,
Which gem is the best for dynamic image resizing from an S3 URL? I know i can pre define this, but I have hundreds of people using the product with endless uses cases I'd like them to specify t...
Robert White replied
macOS sierra working w/ Ruby / Rails / RBENV?
6
General
Curious if anyone has tested it? Don't want to upgrade until I know everything in my stack works correctly without a ton of pain.
TIA
Chris Oliver replied
Solved
How to setup SSL with a rails app
6
General
So I have a ssl certification that I want to apply to my rails app. Im using puma on Heroku.
Francisco Quinones replied
Solved
How do I build a beta invite system?
5
Gems / Libraries
Hi! I'm getting ready to release a beta for my rails app and I was wondering if there is an easy way(perhaps a gem?) to build an invite system, so that only users that receive an invite through ema...
Joe Guerra replied
Solved
How do I allow a user to make multiple payments on one booking using Stripe?
38
General
I'm building an events app using Rails and Stripe to handle payments. I've used javascript for my booking page in order to allow a user to book and pay for multiple spaces rather than just one at a...
Chris Oliver replied
Solved