Ruby on Rails Community Forum
MushroomObserver.org Now Hiring
0
General
Can anyone suggest me best Ruby on Rails 5 book?
8
Rails
I have watched few video tutorials of gorails and codeschools. I think it will be better if I read a book. Can anyone suggest me a ruby on rails 5 book which will helpful for beginner?
Row-level Multitenancy with ActsAsTenant Discussion
8
General
Of all the multi tenancy methods you have used, which one do you think is the best. I know it depends, but I need your opinion, which one would your mind start thinking of?
bradley replied
Action cable - How to delete message in chatroom that belongs to current user?
0
Rails
I've tried to use if else statement, and display a link next to the message, when I submit a message, the link won't display, and I have to refresh the page. It seems like if else statement doesn't...
How to set correct host for action-text-attachment figure img src?
0
Rails
My rails 6 app is set up with amazon s3 with a react front-end.
I serve the react front-end with json and in my json I have Post model with a rich content body.
In the body I have added an image. W...
Rails for Beginners Part 12: Validations Discussion
10
General
I tried copying this regex "\A[^@\s]+@[^@\s]+\z" to https://rubular.com/ but it aren't working until I remove the \A and \z making this [^@\s]+@[^@\s]+ before it could work, any reason for that?
Jerry Lupo replied
User Referral Program From Scratch Discussion
23
General
Just the thing I was needed for a current project, as usual, perfect timing Chris !
Ajay Mishael replied
How can compound csv file datas in ruby on rails oop
0
Ruby
https://stackoverflow.com/questions/68876726/how-can-compound-csv-file-datas-in-ruby-on-rails-oop
Alper Efe Şahin posted
Price Discount
0
General
hi.. I would like to have an anual subscriptions, 200 usd a year is a number for me, do you have some discount available for Argentina's student ?
Thanks
Pablo
Pablo Rodriguez posted
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
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