Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

jQuery atwho.js trying to mix php inside the "displayTpl"

0
Javascript
Hello Everybody! Need to insert in displayTpl: "
spanakorizo posted

How to integrate ransack and datatables in rails app?

0
Rails
In my project there is datatables, using ---gem 'jquery-datatables-rails'--gem 'ajax-datatables-rails', '0.4.3'-- . Now my client need to add ransack to it. Ransack worked well with normal table. B...
Emmanu Varghese posted

Use a gem I created, that needs to remain private?

2
General
Hey Chris, First, thanks for all the great videos and for taking the time to answer all these questions! I want to make a gem for a front-end, Bootstrap spin-off, framework. I've watched your [cr...
Nick McNeany replied

Is there a "Rails" way to batch process API requests?

2
Rails
I have a situation where I'm generating N post requests for given table in a vuejs app, but sending them to the rails controller one by one. I'd like to batch them all up in the app as a JSON obj...
Brian Carpenter replied
Solved

Vue-Turbolinks show stale information in between page load

0
Javascript
I have a shopping cart item counter on my navbar that is first rendered by Rails then gets taken over by Vue once DOM contents are loaded. But the problem is that in between page load, Vue-Turbolin...
Yi Mei Wang posted

Scheduling Posts Discussion

6
General
Great tutorial - thanks! While everything appears to be working fine, I'm still running into the turbolinks caching issues you spoke of at the ~22min mark even after installing the jquery-turbolink...
nnand85 replied

Stripe Subscription with Initial setup fee?.

1
General
Hello, I'm building a relatively simple subscription based app using Stripe, https://www.krogerfeedback.nl https://talktosonic.onl https://talktowendys.vip Devise, Pundit and a few other resources...
iosman001 replied

Setting up Ruby on Rails on IIS

0
Ruby
Hi, I am new to Ruby on Rails. I have an existing website that I need to configure on IIS. I installed Ruby Hosting package from Web Platform Installer. When I ran the website, I got the following...
Muhammad Usama Alam posted

Configuring Ruby on Rails on IIS

0
Ruby
Hi, I am new to Ruby on Rails. I have an existing website that I need to configure on IIS. I installed Ruby Hosting package from Web Platform Installer. When I ran the website, I got the following...
Muhammad Usama Alam posted

Question regarding the threaded comments! Post titles or link_to post only if the current user is on another users show page.

2
Rails
Hey there all, Would anyone know how you could go about linking to the commented on post? For example if you had a view on the users views for comments.. Listing all the comments by the user how ...
Alex replied

Your First Ember App Discussion

4
General
Great tutorial :)
Alvin Kato replied

How do you handle the Sitemap for a user generated content website like a social media network?

2
Rails
I want Google to index my dynamic sitemap that gets updated every time a user creates a record
Chris Oliver replied

Use fetch to pass variable in rails

0
Rails
I am creating an app in Rails with Reactjs. I want to pass the value of input field to the controller as a variable so that I can use that variable in def create. How can I do that with fetch?
Sulekha posted

Passing ActiveRecord Relation object to params?

0
Rails
In my controller code, under :index action, I have this sample code @obj = UserSource.select('user.source_categories.code as category_code, user.source_categories.name as cate...
MH posted

Should I continue using Rails 5 or should i use Rails 6?

2
Rails
As we all know the Rails is currently on version 6.0.3 as of May 06, 2020 (6.5 KB) Some developers say that it is still not stable and must need to wait for a little while before migrating to th...
Joan Gabun replied
Solved

Not Rendering with Stimulus & ActionCable

1
Javascript
Hi, I'm having some issues with Stimulus and I was hoping that someone could review this code and see if they see anything that I missed. The Rails part is working and saving to the db. I'm sure t...
Jim Miller replied
Solved

Import into administrate?

8
Rails
Hi - I used Jumpstart and really like the administrate gem relative to ActiveAdmin. One issue that I am having a hard time is the import add-on doesn't seem to be available like it is for ActiveAdm...
Chris Oliver replied

Rails/Sendgrid messages are blocked by receiver's servers

1
Rails
Messages blocked by all receiver's servers(mail.ru, gmail.com). ![console](https://i.imgur.com/Q4sKtSH.png) console log: https://i.imgur.com/Q4sKtSH.png ![Image of Activity in sg](https://i.imgur.c...
Chris Oliver replied
Solved

Tabs with Stimulus

7
Javascript
Hi Chris - I've been following your guide on adding tabs with Stimulus here: https://github.com/excid3/tailwindcss-stimulus-components I am not using Tailwind but everything is working. However, w...
Chuck replied
Solved

Cookie Replay Attack

1
Rails
In this scenario, there is a Rails Application with a valid user logged in, and the server issued a session cookie, SESSION-ID, to the user. If the SESSION-ID is the cookie that identifies the sess...
Chris Oliver replied

Learning Ruby on Rails? Join our newsletter.

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