| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
To share a certain logic across other examples, let's add a sample SQL
code generated by the given Ruby code
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
sorry @robin850.
Thanks @fxn
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 700c6c65bcce17d4c61423ceaef031bcbe203337.
Bot the `sqlite3` and `sqlite3-ruby` gems exist.
https://rubygems.org/gems/sqlite3
https://rubygems.org/gems/sqlite3-ruby
In fact, they both point to the same github repository.
https://github.com/luislavena/sqlite3-ruby
However, the last one hasn't been released since 2011, while the first
one keeps getting regular releases.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add the packages required on Arch Linux when setting up the development
dependencies
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | | |
for blank?
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
fix order dependent test
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
`ReflectionTest` uses column information in tests and those tests break
if tests are run in random order.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Minor refactor - Uses Enumerable#to_a instead of iterate and add to an array
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
array
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Update Rails 3.2.x guide link [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Excluding action_view/vendor in API[ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
These folder not exists in system
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reference:
Bloody mess internals
http://gusiev.com/slides/rails_contribution/static/#40
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Restore default ActiveSupport::XmlMini.backend after tests
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
see: 9b0ac0bc74569db460f87ea6888b3847be0ff5be
|
| | | |
| | | |
| | | |
| | | | |
Reset ActionView::Base.logger after tests
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
any_instance.stubs + unstub with Mocha doesn't restore the original status in the following case,
so we need to undef Customer#to_json before every test
require 'test/unit'
require 'mocha/setup'
module M
def foo() :foo; end
end
class C
include M
undef_method :foo
end
C.any_instance.stubs(:foo).returns(:mocha)
C.any_instance.unstub(:foo)
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Used flat_map instead of map.flatten in mas_many_through_associations_test.rb
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
rake -> bin/rake
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Added description in actionview gemspec.
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Typo fix [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[skip ci] Fixing the typo which is formed a not required link. Check here http://api.rubyonrails.org/classes/ActionController/Base.html under paramters section
keeping it under tt tag
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
change function def self.table_name to self.table_name
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
change def self.primary_key to self.primary_key
change def self.primary_key to self.primary_key
|
|/ / / / / / |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* we no more have to manipulate the each caller strings by ourselves using caller_locations
* caller_locations runs slightly faster, and creates less objects than good old caller
Benchmark (loading an Engine 1000 times):
caller: 262.89 ms
caller_locations: 186.068 ms
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allow REMOTE_ADDR, HTTP_HOST and HTTP_USER_AGENT to be overridden from
the environment passed into `ActionDispatch::TestRequest.new`.
Fixes #11590
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Cleanup task for informing about hstore
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
ActionMailer Guide: Should be "different formats".
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
don't convert mailer default values to procs
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Invoke mailer defaults as procs only if they are procs, do not convert
with to_proc. That an object is convertible to a proc does not mean it's
meant to be always used as a proc. Fixes #11533
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Simplify select_one method.
|
| | | | | | | |
|