
Capistrano deploy fail to do rake db migrate
0
Rails
I follow this tutorial from crabs code
and do all as in tutorial but when i do cap production deploy initial
capistrano fail to do rake db migrate. I think is because capistrano not do rake db crea...
Reni-amorim posted

Rails for Beginners Part 11: Creating the User model Discussion
7
General
Nicely done. User.all , User.first, User.last, User.create({hash:"hash"})

A Gorails "Path" series to learn the Rails way of doing Javascript?
2
General
Hey Chris. I'm coming back to Rails after some 2 years.
While I'm able to pick things up, I'm confused by all the new rails way of doing Javascript and Ajax.
Before I left, there was only stimulus...
Chris Oliver replied

I miss App-Folders and Files after create a app
0
Rails
Hello and good day to all.
I'm new to RVM, Ruby and Rails and I have a problem.
I use RVM.
If I create a new RAILS app with the following command:
rails new appname -d mysql
Do I get the impress...
RubySnug posted

Rails for Beginners Part 19: Edit Password Discussion
15
General
Editing the password with an empty string (i.e. not filling the fields and clicking right away on the submit button) doesn't throw any error, Current.user.update(password_params) returns true and t...
Alex replied

How do I create a sortable & searchable table with pagination?
2
Rails
Not really sure how to set this up with the different query params. Could someone point me in the right direction? Thanks!
Kevin Gutowski replied

Count the number of pages in a pdf
0
Rails
Hello!
I am trying to count the number of pages in a PDF for a print service using PDF-reader (https://github.com/yob/pdf-reader).
Here's what I have so far but, I only get a hash of {"identified...
Nick Seferos posted

Decorating with SimpleDelegator and Modules Discussion
4
General
Hi Chris! Thanks for another great lesson! Something weird happend in the last minutes. There are two videos overlap. ;)
Rodrigo Marques replied

2 sites... 1 DB?
8
Rails
Hello all! It's been a while since i was here, but i am back!
So today I would like to get some opinions on a project I am working on. So here we go...
What would be the best way to architect 2/3...
Fugee Ohu replied

Strict Loading with ActiveRecord Discussion
0
General
Nice to be able to remove dependencies like the Bullet gem and do this all in Rails!
Chris Oliver posted

Database connect
0
Databases
Hello and a wonderful day at all.
I'm a new RVM, Ruby and Rails user and I have a problem.
My problem is:
I can't connect my App to a database.
My System:
- OS: Rocky Linux on a Hypervisor VM
- ...
RubySnug posted

Interface Segregation Principle Discussion
1
General
I like how this serie changing my point of view.
Arthur Ariza replied

Refactoring CSV Uploads with ActiveModel::Model Discussion
20
General
Awesome episode, Chris! Would be nice to continue with moving CSV parsing to a background job and adding ajax progress bar to provide visual feedback on import progress
Arthur Ariza replied

The Behaviors Of Super Discussion
1
General
Using `method(:method_name)` and `method(:method_name).super_method` can be incredibly handy for debugging. 🔥
A **super**power if you will. 😜
Ann Cascarano replied

About Importmap rails gem
8
Rails
Hi Chris,
Will you make a video about https://github.com/rails/importmap-rails/, what will be the benefits and hidden costs.
Best Regards.
Michael Prince replied

Ruby Module Include Tracking Discussion
6
General
Very nice that you showed how to make it work with Concerns.
fridnorell1 replied

ActiveJob Perform All Later Discussion
0
General
This is handy especially for things like notifications where you need to queue up many separate jobs at once.
Chris Oliver posted

Outbound Email with Headers: In-Reply-To, References and more Discussion
0
General
Thank you Chris for the great series! I am running into a error though on this tutorial when trying to create a post and have it show on the conversations page. ActionController::UnknownFormat (Act...
Damon Clark posted

The MVC Pattern Explained Discussion
4
General
Great explanation about MVC!
Eric Halverson replied