Ruby on Rails Community Forum

jbuilder serializer for returning INDEX endpoint not working like it did with me.json.jbuilder ....

2
General
Hello! I finished your rails api - react-native demo and am begging for more react-native rails demonstrations... I am building a game with rails/react now using your tutorial as my base layer for ...
Megazoor replied

Help request - Not sure how to implement an idea.

3
General
Hi, first of all thanks all for reading this :) Let's say i would implement a kind of autosave form based on a calendar. Let's sayt for each row of elements (pills) you have the last 7 days from ...
Ashley Engelund replied

rails - javascript doesnt work on herokuapp

0
Servers
I know this question is asked a lot in old posts but, no one has fixed my problem. The problem is an error in the web console TypeError: e is undefined ReferenceError: ubah_tampilan_menu is not d...
Reckordp posted

Rubu auth without gems

1
Rails
Hello, i'm new to the forum and I am in urgent need of help. I have a client that is asking to change the basic auth in his rails app to an auth that uses a web form, in a page, instead of an ugly...
Chris Oliver replied

Wordpress sub-directory on Rails App in a same server with setup using Capistrano, Passenger and Nginx.

4
General
Hi sir, Did anyone tried to setup rails app with alongwith wordpress blog and using capistrano, passenger and nginx setup? This will happen on the same server and the wordpress blog would be put o...
AreaScoutsDeveloper replied

How to configure gem 'devise' and gem 'devise_token_auth' in same project

0
Gems / Libraries
Hi, While creating a project, I need to configure gem 'devise' and gem 'dvise_token_auth' in same project and in same model. Is it possible to implement this, if yes, then please guide me in implem...
Prachi Sharma posted

How do populate select box with filtered options in cocoons nested forms

0
Rails
Hi, I have been having having a challenging problem as my rails skill is still not great. I am using a cocoons gem to generate nested forms. I have three models `Employee` , `Competence` and ...
hemmpa posted

Strong Passwords with HaveIBeenPwned Discussion

3
General
The timing of this video is perfect! I was wanting to add something like this to my app.. but was stuck on what approach to take! Again another usefull and well explained video! Keep it coming Ch...
Howard OLeary replied

Development

0
General
Can you offer vue js and nuxt js crash course
David Muritala posted

Slack OAuth Error: Invalid client_id parameter

0
Rails
Hi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds. Here is my code contains the `client_id` - `devise.rb`: ``` config.omniauth :slack, ...
Ben posted

find_each from association

0
Rails
Hello someone could explain mehow could i do a find_each that give me all the records associate to my model This is the structure Venue -> has_many :services and Services -> belongs_to Venues...
javier burgos posted

How to pass value from <select> - to method of Rails-controller?

0
Rails
Hello. I would like to share my problem with you. How to pass value from - in this or that, depending on select, method of Rails-controller? If id of (or name) selected is 'one', it should be pa...
Andre posted

Rails Engines for Decoupled Architecture

1
Rails
I'm wondering in using rails engines (plugins) to decouple monolith rails app codebase in modules which could be shuded down in case of bugs and enabled easily without impacting the whole user expe...
Srinivasa Varma D replied

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 to Deploy Rails to Production on Ubuntu 18.04 Bionic Beaver Discussion

2
General
Hey Chris - Do you have a best practices guide for server maintenance? Brian
TL replied

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 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 &lt; Inher...
pushpam kumar posted

rails 5.2.2 template.rb sqlite3 versions issue

1
Tips
Hi there, after few hours digging arround i just found the answer to this: when trying to start a new project with the template.rb i had issues because of the version of sqlite3. rails was automat...
Chris Oliver replied

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

Learning Ruby on Rails? Join our newsletter.

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