How can I subscribe a user when creating a new project?

7
Ruby
**How can I subscribe a user when creating a new project?** I'm having a hard time on the `create` method. Currently this is my code: ### Projects controller ```ruby def create @project...
Solved

Does anyone have tips on setting up redis and sidekiq on a Digital Ocean ubuntu 16.04 droplet?

5
Rails
I have no trouble setting up redis but for some reason I can't get sidekiq to work. I can get sidekiq and redis to work locally on a mac using brew but not on a Digital Ocean Ubuntu 16.04 server. ...
Solved

Edit Data on same page

2
Rails
Hi there guys, I would like that you help me found a tutorial to edit data on the same page and save to database.

link_to question

1
Rails
I'm working on a project management app that has a dashboard which links to tasks that are overdue, due today, this week, next week etc. I can display the task titles fine but can't get the links...
Solved

Stripe gems: Koudoku or Payola

4
Rails
Has anyone used either https://github.com/andrewculver/koudoku or https://github.com/payolapayments/payola ? If yes, are you able to give any feedback regarding ease of use, ability to customise, e...
Solved

Setting Up A Third Party Theme

0
General
So I watched a video on the site on this topic but wasn't able to make any progress with my site. I have an existing site that I wanted to refresh so I purchased a theme from themes.getbootstrap.c...

Basic CMS: Allow users to add custom CSS

0
Rails
For an App I am building, the platform provides users with a unique subdomain, which they can customize the layout by adding Rows, which have various templates to choose from. I want to allow users...

Is it safe to render the creditcard in my application

0
General
I'm currently adding stripe to my application. I think stripe form doesn't look that good, therefore I would like to beautify the form. I found this gem https://rails-assets.org/#/components/card ...

How do I get Rails Ajax to work using ujs

0
Javascript
Hello, I am trying to user ajax on rails using the ujs library. I am calling the new controller action,with the remote: true property, however the request is being processed as JSON instead of JS.

Sortable List with GoRails Guide

0
Ruby
Hello all, I have a question, I finished with the sorting of the list with Chris's help. But now I want to be able to sort the list by only when I drag the item from a div/icon/text. Can you plea...

How to save a record in a nested form from a namespaced resource?

1
Rails
I have a nested form from a namespaced resource... #Word.rb ``` class Word < ApplicationRecord belongs_to :category has_many :choices accepts_nested_attributes_for :choices validate...

STATISTICS APPLICATION

0
General
Hello everyone, I am building a web app in rails to manage quality indicators of a financial institution. My apps use many complexe Queries. Unfortunately I am not very strong in rails so for my qu...

How do I get past rails server error

0
General
Hi, brand new to ROR. Running into error. Background: Did install of both ruby and rails, currently: ruby 2.5.1p57 (2018-03-29 revision 63029) [x64-mingw32] with rails 5.2.0 I installed initi...

How do I update?

1
Rails
So, I'm following a YouTube  video trying to create my first Blog.  See the following link, at minute  13:50, https://www.youtube.com/watch?v=YCJqAZ--Sd8.  I'm attempting to do ...

Rails stopped listening on localhost

0
Rails
I am a novice rails user, I have been plodding along without too much trouble until today.I use a Mac (just stating that in case my environment needs to be considered)After creating a new rails app...

User create Dynamic Role base

2
General
Hi! So my app uses CanCanCan and Devise for working with users. Now the app needs to have a feature where users can create role. How can I approach this new task. Example: Admin(User) can create ...

ActiveRecord/Routing madness

0
Rails
I'm not sure whats happening here, I feel like I've done this successfully in the past but for some reason my app is crashing all over. This is quite simple. Ive got a model `Employees` and it has...
Solved

How to show a image on each property on index page

0
Rails
Good evening everyone,I am trying to create a real estate ad site and I do not know how to display the image associated with a property in each property displayed in the index page.I have a Propert...

Ruby on Rails migrations into a single migration?

0
Rails
Hi all. So i am a ruby on rails developer and I haven't used this feature earlier. So asking exactly how do I squash ruby on rails migrations into a single one?Any help would do.

Personal records

0
Rails
Hello! How to create an entry for each user? But only those creators can see these records

Learning Ruby on Rails? Join our newsletter.

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