Refactoring Local Variables To Methods Discussion
Refactoring Rigid Code Discussion
Base62 Decoding Short Codes Discussion
Thank you very much for all of your work! You are my teacher! Also, I think I have a better implementation of the decoding algorithm (since ** is a costly operation): def self.decode(string) n...
a-cpp-coder repliedNormalizes method in ActiveRecord Discussion
This is a great feature. The greatest disadvantage is, that it only works with ActiveRecord and not with ActiveModel. This means you cannot use it for Form Objects or other, non-ActiveRecord-baked...
Tobias L. Maier repliedCreating A Blog Post Model Discussion
For future travellers, the `sqlite3` database is under `/storage` now
Dimitrios repliedAdding a Blog Index Action Discussion
Hello everyone
aslan1976 repliedSetup Ubuntu 14.04 Trusty Tahr Discussion
Extending Rails Associations with Custom Features Discussion
HTML Learning Path - Text Elements Discussion
Rich Text Blog Posts with ActionText Discussion
Chris does not cover this in the video but I thought it was neat. If you want to see your video attachments actually play and not just have an image preview, you just need to modify a couple of fi...
Jason R. Kretzer repliedRealtime Group Chat with Rails [Revised] - Part 2 Discussion
At 18:03 `ajax:success->` is not working for rails 7.1.3.2 and can be replaced with `turbo:submit-end->`
Fixt Dev repliedRealtime Group Chat with Rails [Revised] - Part 1 Discussion
Could do a better example of explaining how resources and routes work. Was not able to follow along, and very little information was given to help troubleshoot beyond "follow what I do"
Fixt Dev repliedAdding Scheduled Blog Posts Discussion
Use the `bin/dev` command to start your server as noted in video 12 (Adding TailwindCSS to Rails). Otherwise the site does not get all the tailwindcss built in.
Jason R. Kretzer repliedActiveRecord Aggregations with composed_of Discussion
I don't see this feature used often in Rails apps, but it's super powerful for things like this. An easy way of creating Ruby objects like this allows you to really organize functionality instead o...
Chris Oliver postedRails for Beginners Part 14: Handling Sign Up Errors Discussion
For those who are using Rails 7: Rails 7 has Hotwire enabled by default, and it will validate the response status code. For failed validation, the status code should be 422 (Unprocesssable entity)...
Michael repliedDesigning our Web Scraper UI with TailwindCSS Discussion
Fantastic session, love how it addressed not only CSS styling but database performance. Great refresher for me personally and jammed full of lessons.
Bryan Byrne repliedHyperNav, an advanced and interactive CSS only navigation menu framework
I've came across requirements that no JavaScript may be used on a website, which made developing certain navigation menus hard. To this end I decided to create a CSS framework, HyperNav, which aim...
EthanElijah repliedDeploy Multiple Rails Apps to Same DigitalOcean Droplet?
Hi, I am getting the same issue, i followed your server setup tutorial and it works fine. but now i want to deploy another rails application on same server, i dont know how to configure my next app...
Muneeb Ahmad Farooqi repliedEnhancing the Rails Scaffold Generator with hook_for` Discussion
Very helpful and cool ,thanks
Gary Leydon posted