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 7,179 public repositories matching this topic...
-
Updated
Mar 4, 2020 - Ruby
When you have only one registered aspect, then people belonging to that aspect don't get shown with the name of the aspect, but with the generic "All Aspects".
I don't know if it was meant to be like this, I just find it confusing.
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/86276565-profile-visualization-when-there-is-onl
Would be nice to be able to add more unique information on a per store basis.
Useful field Examples:
- Full address (replace the static address that is hard coded into the footer).
- Dedicated field for customer facing contact email address (in case you want to use a separate send from such as a no-reply@you.com).
- upload store logo.
- upload store favicon image.
I wanted to ask if a migration guide was created for going from a 1.4.3 version to a 2.x version? If there is no migration guide, what non-passive changes were introduced that caused the 2.x version bump?
We've received a good amount of feedback for formatting values instantiated within the page_entries_info method. Currently we don't have a concrete interface for the method and Kaminari users need to implement a decorator that's not intuitive. It would be helpful if the method sends a certain sed of messages to the collection object. I'm not sure what the interface should look like, but here i
-
Updated
Mar 3, 2020 - Ruby
I have searched the issue list for something similar, but I have not found the exact same issue.
The problem is that, given these two models:
factory :employee do
# various attributes
end
factory :job do
association :employee, strategy: :build
endattributes_for ignores any explicit employee assignments:
attributes_for(:job, employee: some_other_emI'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
I think the guidance for configuration could do with some clarification. It is unclear from the guidance how gem initialisation code that is environment-specific should be handled. Obviously in an ideal world, there would be a single initialiser per gem and any differences would be supplied via envs, but in cases where there are more substantive differences, for example a gem should only be initia
I want to avoid checking SVG files into this repository. I feel strongly that having it here to, the confusion of where to contribute to Octicons increases.
However we need to address questions like primer/octicons#213
In my ideal world, we would include in the release script a line that zips up the /build/ folder and attaches it to a release on this repository. A
Is your feature request related to a problem? Please describe.
The sanitize_sql method signature is designed to receive an array with ["sql template", *values] that it uses for quoting and replacing placeholders.
When a string is passed instead of an array, sanitize_sql is a no-op, and the original string is returned unchanged.
Describe the solution you'd like
Queries lik
This can be added to spec/finders/active_record_spec.rb
it 'returns correct `size` for last page' do
users = User.paginate(:page => 3, :per_page => 5)
users.total_entries.should == 13
users.total_pages.should == 3
users.size.should == 3
endThe test is failing:
bundle exec rspec spec/finders/active_record_spec.rb:420
Description
Buffalo test should be allowed to take a timeout argument, similar $ go test -timeout 300ms.
Steps to Reproduce the Problem
Buffalo test does not currently provide a timeout option, as seen in the source code (https://github.com/gobuffalo/buffalo/blob/master/buffalo/cmd/test.go) and by testing with the likes of $ buffalo test -timeout 10m
Expected Behavior
It would be great if a new message, appearing automatically via WebSockets, also triggers notifications via the Notifications API.
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API
Cautionary: There should also be some kind of grouping/throttling for massive batches that arrive all at once.
It would be useful to explain that in order to have a has_one association in a form, one has to add
has_one :thing
accepts_nested_attributes_for :thingto the parent model. Saying this because the Field::HasOne already supports nested form and allows the params.
All in all this experience has been terribly confusing, especially for me who is a beginner to Rails and thought everything would be ready to go after rails new myapp.
Instead it turned out I had to downgrade Yarn. I also struggled to install basic packages like jQuery and had to resort to outdated and flat out wrong 3rd party tutorials out there on the web.
Is there any way to make this e
What is the problem?
Looks like there is no ability for non-callorators to edit the wiki pages. See here for example: https://github.com/CanCanCommunity/cancancan/wiki/Nested-Resources - I am unable to amend the wiki documentation.
What's wrong with that?
It places additional burdens on the maintainers of the gem to update the documentation. A lot of people can assist in fixing smal
I've been trying out 1.10.0.pre1 and adding pagination to my GraphQL API today, and I wanted to give some feedback on the documentation:
- There's a link to a non-existent page at the top of
custom_connections.md:{% internal_link "Using Connections", "/pagination/using_connections" %}. - Th
Hello!
I think I've figured out a good way to get SimpleCov working with Spring. For my Rails application, preloading the app would require some classes in my ./app directory, and this would cause some inaccurate coverage to be reported (any lines that were required during preloading were missing in the coverage.) I figured out how to fix this issue by starting SimpleCov in config/spring.rb
Link to issues.
💥 Proposal
What feature you'd like to see
Link to issues on github on issue view / menu view.
Motivation
Not everything renders correctly in octobox, and stuff is squashed, it would be useful to jump an issue out and see it in the original context.
Pitch
A link from the issue number displayed in the view to its actual page would make it easy to jump out and use the f
Describe the bug
The conversation counter isn't updated in real-time when a new conversation comes into the system .
To Reproduce
Steps to reproduce the behavior:
- Trigger an incoming message from widget to chatwoot platform
- Watch the to
Rails generators can be a bit of a mystery for folks unfamiliar with them. While trying to explain to somebody where some of the file manipulation methods come from it took me way too many steps to find the documentation I was hoping for:
- The method wasn't defined in the suspenders generator I was looking at, so walked up the inheritance chain to
Suspenders::Generators::Base - Not define
docs wrong
docs say:
To annotate just your models:
annotate --models
but if i run it, i get a mess
annotate --models
Annotated (19): app/models/coin.rb, test/models/coin_test.rb, test/fixtures/coins.yml, app/models/crypto_payment.rb, test/models/crypto_payment_test.rb, test/fixtures/crypto_payments.yml, app/models/ledger_entry.rb, test/models/ledger_entry_test.rb, test/fixtures
-
Updated
Mar 2, 2020 - Ruby
Created by David Heinemeier Hansson
Released December 13 2005
- Organization
- rails
- Website
- rubyonrails.org
- Wikipedia
- Wikipedia

This is a very common pattern:
You're looking for a record based on a parameter, and if you find it, you'll start streaming. If the record isn't there, you reject the connection. We should extract `Add Ac