Rails
Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.
Here are 9,659 public repositories matching this topic...
-
Updated
Dec 15, 2021 - Ruby
-
Updated
Dec 10, 2021 - Ruby
-
Updated
Dec 12, 2021 - Ruby
-
Updated
Dec 15, 2021 - Ruby
Describe the bug
We have added destroy_async but the destroy_async option should not be used when the association is backed by foreign key constraints in the database.
Find all the foreign key and update it with the cascade: delete
To Reproduce
Try to delete a record that has dependent: destroy_async present, it won't delete the record because of foreign key violation
-
Updated
Dec 15, 2021 - Ruby
-
Updated
Dec 7, 2021 - Ruby
-
Updated
Dec 8, 2021 - Ruby
Problem this feature will solve
Given:
FactoryBot.define do
user(factory: :author) { association(:author, role: role) }
endDefinitionProxy#method_missing will declare the [association](https://github.com/thoughtbot/factory_bot/blob
I'm sorry to post an issue that is missing crucial evidence, but some debugging of a recent config loading bug makes me suspect that the react-rails railtie.rb may be modifying the load order of initializers, and preventing the values in Rails.application.config being as expected.
Whether this happens or not appears to be partly dependent on where in the Gemfile the react-rails gem is l
-
Updated
Dec 15, 2021 - Ruby
-
Updated
Aug 29, 2021 - Ruby
-
Updated
Oct 29, 2021 - Ruby
-
Updated
Dec 8, 2021 - Ruby
I'm not sure if this is the right approach and maybe I've not understood this new part of the pipeline, yet, but:
Suppose, the major part of the app code lives inside a rails engine including all javascripts. And there are several main apps using that engine. The main apps only contain some layout changes and some minor patches.
Therefore, in order to integrate the webpacker gem into this se
-
Updated
Dec 14, 2021 - Ruby
-
Updated
Dec 15, 2021 - Ruby
-
Updated
Dec 6, 2021 - Ruby
We have a problem: if files aren't loaded/required we don't have branch data. If they are added through track_files we give it 0/0 branches which we show as 100% coverage (all possible branches are covered).
That math is "wrong" though here because there are branches but we don't know what they are. We should probably count total branches here as "unkown" and establish that in our "math unive
-
Updated
Dec 15, 2021 - Ruby
Created by David Heinemeier Hansson
Released December 13 2005
- Organization
- rails
- Website
- rubyonrails.org
- Wikipedia
- Wikipedia
Hello,
In section 8 of Getting Started, users learn how to add a status attribute. By the end of the section, they should have this feature working well, including a count of public posts on the index page. However if the user played with the blog application and already created some posts, this count won't include these posts as values hav