Skip to main content
Devise on Heroku
Rails Solved • Asked by Moses Gathuku
Hello, I have been implementing device JWT with rails 6.0 API . I have used this callback to protect from fogery requests, On the applicationController ``` protect_from_forgery unless: -> { re...
1
post

JSON Web Tokens with Devise & Warden Discussion
General • Asked by Chris Oliver
Great tutorial.
14
posts

How do construct remember me after login ?
Rails • Asked by Minimalstics
In my login-in form in have a params 'remember me' . How do i read its value in controller . biggest problem i m facing right now. ``` Log In ...
1
post

Error Tracking with Errbit Discussion
General • Asked by Chris Oliver
I am trying to wrap around my head around the hooks. The first immediate hook is errbit knowing the application's github repository. The second is the airbreak.rb file where the app (and I assume...
6
posts

Sortable Drag and Drop Discussion
General • Asked by Chris Oliver
Just a heads up, in your Gemfile, bootstrap 4 beta no longer uses tether for tooltips, now uses popper.js which is now a dependency of the bootstrap 4 gem
29
posts

Global Autocomplete Search Discussion
General • Asked by Chris Oliver
Awesome episode Chris! Thanks!
27
posts

Reddit style comment thread pagination Discussion
General • Asked by Chris Oliver
nice way to round out the tutorial! thanks for all your hard work
2
posts

Nested Comment Threads in Rails - Part 3 Discussion
General • Asked by Chris Oliver
Really great series, thank you for doing it. One question: I have a comment form below the comments and it is not clearing out. However, when I move above the comments it does. Any thoughts?
6
posts

Build Multitenancy App in a different way
General • Asked by Stan X
I have seen many questions and topics in gorails about multitenancy but I am a bit undecided about which way to go. I would like my app not to carry the subdomain name in the url. Indeed, I would l...
7
posts

in app notifications using stimulus and ujs
General • Asked by Joel
I am attempting in app notifications similar to how Chris did it in the tutorial but trying to update it to use Stimulus but i my data-target doesn't seem to be in scope in the ajax success callbac...
7
posts

Service worker view patch does not working in cached
Gems / Libraries • Asked by abdul544
I want to add a view file inside cached but it doesn't work. How to call view Patch in cache? //serviceworker.js.erb ar CACHE_VERSION = 'v1'; var CACHE_NAME = CACHE_VERSION + ':sw-cache-'; ...
1
post


How to write System Tests in Rails Discussion
General • Asked by Chris Oliver
Really loving this testing series. I've been using RSpec for years but it looks like Minitest now covers a lot of the functionality that made me choose RSpec back then. One of the things I don't...
12
posts

Test Driven Development Basics Discussion
General • Asked by Chris Oliver
I really like that you come at it fairly 'bare bones'... as in, no Rspec / FactoryBot / Fixtures / Cucumber / Faker / shoulda-matchers /guard etc etc. I recall when learning for the first time, i...
4
posts

How to install TailwindCSS 1.0 with Rails 6 Discussion
General • Asked by Chris Oliver
Hey Chirs! Great video, only question I have about using tailwind with rails 6 is the theme config. in the docs it says to place: ``` module.exports = { theme: { container: { ...
8
posts

Deploy Ubuntu 18.04 Bionic Beaver Discussion
General • Asked by Chris Oliver
Thanks for this article, Chris! I'm struggling to get past the step of installing NGINX with Passenger. The command sudo apt-get install -y nginx-extras passenger...results in a message about sever...
53
posts

Open Closed Principle Discussion
General • Asked by Chris Oliver
Loved the bla bla bla on minute 8ish :)Great video! Thanks
9
posts

Rails Engines for Decoupled Architecture
Rails • Asked by Alexander Miasoiedov
I'm wondering in using rails engines (plugins) to decouple monolith rails app codebase in modules which could be shuded down in case of bugs and enabled easily without impacting the whole user expe...
2
posts

remove a powered by link left by my developer.
General • Asked by david
i am new to ruby/ror i had a developer create me a site (still in progress) and the developer left a "powered by" link on my site and i want to remove it ( i pay for domain name,hosting, developmen...
1
post

How do I create localized dropdowns with countires and cities?
General • Asked by Kajzer
Hi, I want to create a webpage (localized) with venues that have address (geocoded) and than search them by dropdowns/search field(autocomplete) in the area of X miles/km around location, so tha...
1
post

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.