How to deploy Rails to a Staging Environment Discussion

1
General
Chris, Great video as usual. One question: when using custom environments, how do you handle Gem's that customize behavior based on Rails.env? For example: Rails.env.production? ? prod_thing : n...
Eitán replied

Contrasting Colors with YIQ and Helper Tests in Rails Discussion

1
General
Great Video For Learning..! I have just applied on my Website and it looks very well
jivizza12 replied

Mitigating Spammers with Recaptcha Discussion

0
General
Nice episode. But where do I find the source code?

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

Custom Rails Configuration Options Discussion

1
General
Thanks for this episode, very interesting topic.
Lee McAlilly 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

Displaying search results from an API

0
Rails
I am working on a small project where users can search through an API (https://github.com/games-directory/api-giantbomb) via a search bar. However, nothing is displaying on my index page with the r...
OnRice 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

How to Build Custom ActiveRecord Validations Discussion

3
General
How does "resizable_image: true" work? I'm assuming that because you named your validator "resizable_image_validator.rb" with a class name "ResizableImageValidator" and then calling "validates :ava...
Cheree Shuler replied

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

Want to stay up-to-date with Ruby on Rails?

Join 90,335+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.