Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

Fixes #150: Made handling of scope and options arguments for belongs_to and has_many... #151

Closed stevemadere closed 9 years ago

stevemadere commented 9 years ago

... and has_one wrappings robust and consistent.

Now using *args instead of specifically naming params so that it can be safely compatible with both rails3 and rails4 (in rails4 the signature of belongs_to and has_many added an intermediate optional param for scope)

iox commented 9 years ago

This is huge and a very nice piece of work Steve. Thanks a lot!