Ruby on Rails Community Forum
Rails app integration with Salesforce REST API
0
Rails
I want to map rails application data element to salesforce data element
CSV Upload Form to Import Records Discussion
11
General
Awesome job on explaining imports in a simple way. Some of the most complex chunks of code I have worked on are imports. Especially if the data is inconsistent and needs to have all the edge cases ...
spacerobotTR replied
$container.isotope is not a function ruby on rails
1
Javascript
I’ve managed to install a theme in my Rails app now. However, there’s still some bugs in the js.
Uncaught TypeError: $container.isotope is not a function
windowLoadInit main.js:1358
jQuery...
Owen replied
Exploring the job market? I may have a perfect opportunity for you!
0
General
Hi y'all!
I'm a recruiting consultant based in Austin, Texas. I'm currently hiring a remote team (5-10) of talented Ruby on Rails engineers for a client of mine; they're a rapidly growing health-t...
Disable service worker?
1
Rails
Hi I have a brand new Rails app and it's making request to `/service-worker.js/`, resulting in some annoying `ActionController::RoutingError (No route matches [GET] "/service-worker.js"):`, while I...
Stimulus_Reflex Demo's - Populating Dropdowns from tables
3
Rails
So, I've spent about two days on this, Googling, watching many, many YouTube videos. So much that I'm on information overload - and obviously missing something. I've worked through the Stimulus.j...
Why is viewer_id 0 on every video?
4
Rails
The viewer_id always returns 0 after creating a video. A mentor creates a video with a user via hangouts. Mentor then creates the video on our website. Only the mentor and viewer should see the vi...
How to order stimulus reflex morph asc?
2
Javascript
I have a morph for stimulus reflex that updates a portion of the page when todos are created. What the customer would like to have happen is that when they create new todos they are added to the bo...
Secure an Open Rails API skiping the login process for thirdparties...best strategy
0
Rails
Hi there,
I've got a Rails API that I would like to open to third parties. Basically I've got a platform where third parties can access it via API to retrieve a product list with name,category, st...
Eduard Garcia posted
Solved
Boolean wont update
0
Rails
I have a column in my users table named `active` that is a boolean that defaults to true.
I cannot seem to update this value at all. Both in the console and through the update method in my users c...
RJ McCollam posted
Sorting Images using Active Storage
25
Rails
I'm experimenting with Active Storage to manage images. I got the multiple uploads working, but I want to use acts_as_list position with jQuery sortable to manage their order using ajax, like in [t...
Tony Serkis replied
Hotwire/Turbo + Webpacker/Stimulusjs
0
General
I think I'm confused. I love the functionality of Hotwire and experimented a little with it in a fresh app. I don't understand though, if I can also have Stimulusjs running - I have different needs...
Bevin posted
Root route bypassing before_action
0
Rails
we have a posts_controller which takes a slug to render the correct page.
posts_controller inherits from application_controller which has a couple of before_actions
routes.rb has the following roo...
Solved
Issues with filter with searchkick elastic rails
0
Rails
I am currently on the part where you add
<% if params[:price]==bucket["key"].to_s%>
<%= link_to bucket["key"], request.params.except(:price)%>
<% else %>
<%= link_to bu...
Authorization with Pundit Discussion
28
General
It is really helpful. I've also seen CanCan. But I'm little bit confuse, which one should I use? Do you have any suggestion? Beside this I've a request that it'll be very helpful, if provide a vide...
Liam replied
How to use background job with ActiveAdmin to generate csv
0
Rails
With ActiveAdmin not able to generate CSV file with more records
Mahantesh posted
Implementing Hotwire
1
Rails
Hello good people.
I was watching DHH's video on hotwire and @Chris video on on this site demonstrating hotwire.
Do we still need stimulus js in case we want to implement that on the group chat ...
Suleiman Nassor replied
Solved
Stripe - Save Card and Reuse at checkout
0
Rails
I managed to create a customer with cards, but when I create a checkout session, I couldn't manage to bring the card to the form.
Victor Morelli posted
Setup Ubuntu 21.10 Impish Indri Discussion
0
General
HOW TO POPULATE DATA FROM ANOTHER FORM
1
General
How can I populate data from another form, for example when I select 'Request No' should fill 'Request description' or 'Requester' on my form. I know this can be achieved by JavaScript's but i am s...