Displaying 4 results from an estimated 4 matches for "matthuhiggin".
Did you mean:
matthuhiggins
2011 Nov 28
29
Lack of foreign-key constraints support in ActiveRecord
Is there any reason why AR has never supported foreign-key constraints?
I can understand the lack of support for triggers and stored procedures
since they are highly dependent on the database to create a wrap API
around them. But this is not the case for foreign keys.
This is specially important for open-source projects like
Redmine/Chiliproject and Gitorious where you shouldn''t be
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
...r''s referential_integrity.rb in
Rails master and 3.2.9 and let me know what you think. We are using it via
an initializer (monkey patching the adapter directly vs. in module):
https://github.com/rails/rails/pull/8498
Fixes this issue also seen by others in Foreigner:
https://github.com/matthuhiggins/foreigner/issues/61
Problem that it resolves:
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb:652:in
`async_exec'': PG::Error: ERROR: permission denied:
"RI_ConstraintTrigger_1234" is a...
2009 Sep 28
5
Multi-databases support
...s work on a
server, I really prefer to hack/dev locally on a Sqlite or MySQL DB.
I have googled on rails in order to find a good answer for the "foreign
key problem" which forces OVirt to stay on pg. I have found a plugin on
this particular problem, named foreigner :
http://github.com/matthuhiggins/foreigner
It provides a rails' syntax to common operation on them. For instance :
add_foreign_key(from_table, to_table, options)
remove_foreign_key(from_table, options)
foreign_keys(table_name)
I really like to keep my development computer to run as fast as possible
(ie without a...
2010 May 14
0
marnen-foreigner 0.5.2: MS SQL Server 2005 support
Hi everyone!
I''m delighted to announce the release of marnen-foreigner 0.5.2. This
is my fork of matthuhiggins-foreigner 0.5.0, and adds MS SQL Server 2005
foreign key constraint support to the MySQL and PostgreSQL support that
was already in the gem.
This is my first public gem release, and I''d welcome nitpicks and
contributions. Source is available at http://github/marnen/foreigner .
Enjoy!
B...