Hacker News
- Delegated Types in Rails, handling models with overlapping attributes https://www.blackboxengineering.work/delegated-types-in-rails-handling-models-with-overlapping-attributes 3 comments
- Django Model Lifecycle Hooks – Inspired by Rails Callbacks https://github.com/rsinger86/django-lifecycle 3 comments
- Day 7 - rails-erd Gem - Generate Entity-Relationship Diagrams (ERD) for Your ActiveRecord Models @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems https://www.reddit.com/r/rails/comments/m3dqww/day_7_railserd_gem_generate_entityrelationship/ 3 comments rails
- Rails Presenters: filling the Model-View-Controller gap http://rvlasveld.github.io/blog/2013/09/26/rails-presenters-filling-the-model-view-controller-gap/ 3 comments rails
- Active MCP: Integrate Rails with AI Assistants using Model Context Protocol https://github.com/moekiorg/active_mcp 15 comments rails
- Sort Your Rails Models By The Order of their Associations https://blog.saeloun.com/2023/07/18/sort-your-rails-models/ 4 comments rubyonrails
- How to test your Rails models with RSpec https://remimercier.com/how-to-test-rails-models-with-rspec/ 5 comments rails
- Leverage Regular Instance Variable to Resolve Thread-Safety Issue on Rails ActiveRecord model https://www.vector-logic.com/blog/posts/leverage-regular-instance-variable-to-resolve-thread-safety-issue-on-rails-activerecord-model 4 comments rubyonrails
- What to do about bloated Rails Active Record models https://www.codewithjason.com/bloated-rails-active-record-models/ 2 comments ruby
- associationist: A gem to define virtual associations on Rails models None 2 comments ruby
- Rails: define_method in Models https://www.botreetechnologies.com/blog/rails-define-method-in-models/ 2 comments rails
- Why You Should Avoid Models in Rails Migrations https://jakeyesbeck.com/2021/04/10/avoid-models-in-migrations/ 33 comments ruby
- Does this look like a good strategy for Rails model relationships? https://www.reddit.com/r/rails/comments/fxqy28/does_this_look_like_a_good_strategy_for_rails/ 22 comments rails
- Converting Rails 5 model relationships https://medium.com/p/ae370eb763b7 9 comments ruby
- Devise Gem with Rails 5.2 vs Micheal Hartl's "User Model" https://www.reddit.com/r/rails/comments/a3qnml/devise_gem_with_rails_52_vs_micheal_hartls_user/ 10 comments rails
- Rails app with machine learning microservice or Django app with machine learning model backend https://www.reddit.com/r/rails/comments/9wnplb/rails_app_with_machine_learning_microservice_or/ 4 comments rails
- Rails And Conditional Validations In Models - Karol Galanciak https://karolgalanciak.com/blog/2018/06/24/rails-and-conditional-validations-in-models/ 38 comments ruby
- Create program that uses the models in a Rails app https://www.reddit.com/r/rails/comments/7nu5l2/create_program_that_uses_the_models_in_a_rails_app/ 6 comments rails
- [question] rails models architecture https://www.reddit.com/r/rails/comments/7blyvo/question_rails_models_architecture/ 6 comments rails
- Rails Authentication - Admin Model vs Flag https://www.reddit.com/r/rails/comments/6a90ey/rails_authentication_admin_model_vs_flag/ 4 comments rails
- From Rails to Hanami: Models https://blog.codeminer42.com/from-rails-to-hanami-models-d1175d2d5b33#.u4mcekfa2 7 comments ruby
- Charles Koch Rails Against Trump, Cruz: They're 'Terrible Role Models' http://talkingpointsmemo.com/livewire/charles-koch-rails-against-trump-cruz 12 comments politics
- Building Metro rails under BOT or PPP models not viable: E Sreedharan http://www.business-standard.com/article/economy-policy/building-metro-rails-under-bot-or-ppp-models-not-viable-e-sreedharan-115032100125_1.html 3 comments india
- Rails Misapprehensions: Replace Helpers With View Models! http://nicksda.apotomo.de/2014/08/rails-misapprehensions-replace-helpers-with-view-models/ 10 comments ruby
- Auditing Models with Associations in Rails 4 https://github.com/airblade/paper_trail 4 comments rails
- Rails testing antipatterns: models https://semaphoreapp.com/blog/2014/01/21/rails-testing-antipatterns-models.html 4 comments rails
- Model electrocuted after peeing on G train third rail http://www.nypost.com/p/news/local/brooklyn/model_death_on_rd_rail_t5jevtvlnygtbgxiu6ebfn 4 comments nottheonion
- [ruby][rails] How should I validate an external api key's validity within a model? (experiencing 'weirdness') http://pastebin.com/Pmkdb5FS 4 comments learnprogramming
- An uproar because someone pointed out that the way Rails scaffolds models by default makes apps vulnerable to exploits if you don’t also take some care to use a little feature called attr_accessible. http://raganwald.posterous.com/while-giles-is-right-hes-right 160 comments programming
- Tower.js - JavaScript Framework for Node.js modeled after Ruby on Rails http://towerjs.org/ 8 comments javascript
- In Rails 4.0, you'll be able to include ActiveRecord::Model as a module rather than being required to inherit from ActiveRecord::Base. https://github.com/rails/rails/compare/58f69ba...00318e9#diff-0 15 comments ruby
- Using the decorator pattern to simplify your Rails models http://qualityonrails.com/archives/8 9 comments ruby
- Rails migrations done right: auto-generated from fields specified in models, like Django http://cookbook.hobocentral.net/manual/hobofields 16 comments ruby
- 🚨 Rails 7 Prevents Use of Reserved Names as Model Attributes https://sparkrails.com/rails-7/2024/02/12/rails-7-prevents-using-dangerous-names-as-columns.html 4 comments rubyonrails
- Financial plan on Rails - how to use PostgreSQL views as a model https://railsguides.net/financial-plan-on-rails/ 2 comments rails
- Creating multiple models with form objects in Rails. https://johnmaddux.com/2019/09/12/creating-multiple-models-with-form-objects-in-rails/ 16 comments ruby
- Gist of Rails Rspec model testing skeleton & cheat sheet using rspec-rails, shoulda-matchers, shoulda-callbacks, and factory_girl_rails. Pretty much a brain dump of examples of what you can (should?) test in a model. https://gist.github.com/kyletcarlson/6234923 13 comments rails
- France is joining the hydrogen train revolution, the head of state rail operator SNCF said Thursday, announcing an order for 15 emissions-free regional trains to replace polluting diesel models. https://techxplore.com/news/2019-08-france-climbs-aboard-hydrogen-revolution.html 8 comments technology
- France climbs aboard hydrogen train revolution. France is joining the hydrogen train revolution, the head of state rail operator SNCF said Thursday, announcing an order for 15 emissions-free regional trains to replace polluting diesel models. https://techxplore.com/news/2019-08-france-climbs-aboard-hydrogen-revolution.html 77 comments europe
- Making new associations between existing models where there previously were none in an old rails app. https://www.reddit.com/r/rails/comments/7acwkp/making_new_associations_between_existing_models/ 7 comments rails