Ruby on Rails Community Forum
How do I find a list of the lessons I've watched?
0
Site Feedback
I'd like a list of the lessons I've watched because I often want to go back to a video to remind myself of something – but I first have to spend a while tracking the actual lesson down. Finding th...
iTunes Controller Code Review: Part 3 Discussion
2
General
These refactoring series are great. Thanks for taking us through it. Any plans on sharing the source?
Chris Oliver replied
Testing API Requests Discussion
0
General
I am getting an error "Faraday::Adapter::Test::Stubs::NotFound: no stubbed request for post" and cannot find anything that could be wrong.
######secret_test.rb#########
```
stub_token = stub_requ...
Miroslav Kralik posted
Why would I be receiving a NoMethoError when I try to go to the trips edit form?
1
Rails
edit.erb
Edit <%= @trip.location %>
<%= button_to "Delete trip", trip_path(@trip), method: :delete %>
<%= link_to "Cancel", trip_path(@trip) %>
trips_controller.rb
de...
Masafumi Okura replied
Audio on a remote Server Windows ?
0
Servers
Login with Facebook Discussion
30
General
Thanks for the video—it was great! I would love to see how you'd approach managing multiple OmniAuth strategies for a single user without Devise.…
How to use Partials in Rails Discussion
0
General
The closing quotation mark is missing, and the backticks are misleading. (I'm guessing they were added for formatting markdown, but due to some change in the blog they are now appearing as visible...
Brandon posted
ERROR in chunk application [entry] js/[name]-[contenthash].js Cannot use [chunkhash] or [contenthash] for chunk in ....
4
Rails
Hello i pass one day to debug this ....
I following step by step this tutorial, but when in launch bin/webpack-dev-server
https://dev.to/davidteren/getting-started-with-rails-6-1-tailwindcss-jit-we...
Barlow Kasule replied
Muliple has_one's on a polymorphic association
1
General
I wish to add a billing_address and a delivery_address to my Client's.
So i thought i would make my Addresses polymorphic.
```ruby
class Client < ActiveRecord::Base
has_many :addresses, as: ...
Caching with Etags Discussion
4
General
Can I use this with associations in views?
I have post with author and use fresh_when on post. If I change author will it render on post view old author or new one?
Leon Entrup replied
Search Filters/Report Generator
3
Rails
I am working on a project for a client that consists of a primary jobs model that has a number of forms (other models) within it.
I am needing to build out search functionality that searches throu...
RJ McCollam replied
Solved
Searchkick Aggregations - Need to show Users only from Current.account
7
Rails
My App uses Current.account from ActiveSupport and i need to show only Users (for filtering) who belongs to the Current.account.
The following Setup for Search Filters with Aggregations (searchkic...
Chris Oliver replied
Setup MacOS 11 Big Sur Discussion
4
General
Hi
I get an error:
/.zshrc:2: parse error near `source'
any ideas why?
Javascript function firing on page load
1
Javascript
Hi,
I'm building my first web app using Jumpstart and I'm running into a weird issue with the Javascript in one of my show views.
The issue I have is that instead of firing on click, the toggleC...
benjaminhouy replied
Solved
How to build a wizard
7
Rails
Hi Chris
Something I'd love to see a video on is on how to *build a wizard*. I find this not that simple and would love to see how you solve these kind of issues, like in an onboarding process (or...
Bryan Beshore replied
how to create and use different sub models of base data model
1
General
I am an iOS developer developing my first rails app. I would like to have suggestion on what i am trying to build. I want to create a web portal for different type of service providers.
Any body ca...
Chris Oliver replied
What's with the elitism against Javascript?
3
Javascript
So, because I'm not familiar with the programming world (and, frankly, I want a job, and programming is an acquired taste), why is there so much animosity toward Javascript?
I took a C# course bef...
Eldon Jones replied
Newbie question trying to understand collection_check_boxes method
3
Rails
Hi, I am new to Rails, and I am trying to create checkboxes in a view. I came across this method:
https://apidock.com/rails/v4.0.2/ActionView/Helpers/FormOptionsHelper/collection_check_boxes
What ...
Pauline Velarde replied
Solved
Javascript not executing
2
Javascript
I viewed the easyAutocomplete video, which was great. I have the DB query and JSON assembly working. And the Javascript loads into the browser (Chrome DevTools let's me inspect it). But it never tr...
Solved
ActiveRecord Default Scopes, Unscoped, and Unscope Discussion
3
General
Students are required to do their assignments in a timely manner