Initial directory structure.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@1 561dde7e-7729-0410-be8e-ef83869d6c7d
importing codebase


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@2 561dde7e-7729-0410-be8e-ef83869d6c7d
fixed renaming issue, and cleaned up test output (added some parenthesis, stopped re-registering Mime::JSON)


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@3 561dde7e-7729-0410-be8e-ef83869d6c7d
some changes to dhtml history for an odd firefox behavior


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@4 561dde7e-7729-0410-be8e-ef83869d6c7d
fixed sorting so that it resets properly in production mode


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@5 561dde7e-7729-0410-be8e-ef83869d6c7d
Added Hebrew and Dutch.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@6 561dde7e-7729-0410-be8e-ef83869d6c7d
namespaced the client-side action link objects.
removed the "from" attribute from the <tr> tags in the table and started passing it as the refresh_url option to the ActiveScaffold.Actions.Record object.


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@7 561dde7e-7729-0410-be8e-ef83869d6c7d
renamed 'themes' to 'frontends'. actual themes will come later.


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@8 561dde7e-7729-0410-be8e-ef83869d6c7d
replacing some 'render :update' calls with rjs files


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@9 561dde7e-7729-0410-be8e-ef83869d6c7d
Update Russian.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@10 561dde7e-7729-0410-be8e-ef83869d6c7d
Patch Rails to_text_area_tag to accept a number or string for :size.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@11 561dde7e-7729-0410-be8e-ef83869d6c7d
better support for embedded scaffolds. each embedded scaffold gets a unique id which is used to separate its session storage.

an embedded scaffold is any scaffold created via the "render :active_scaffold" signature. the embedded id ('eid') is created as the md5 of the controller doing the 
embedding, the controller serving the scaffold, and any parameters passed to the embedded scaffold. this means that if someone embeds the Users scaffold with the 
same constraints (e.g. user_group_id=5) from two different controllers, those scaffolds will keep state independently.

constraints are now stored in the session storage. these constraints will be used in the near future to intelligently remove columns from appearing in the list or 
update/create forms, and will be automatically inserted into new models.



git-svn-id: http://activescaffold.googlecode.com/svn/trunk@12 561dde7e-7729-0410-be8e-ef83869d6c7d
Added active_scaffold_controller_for, refactored _nested.rhtml.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@13 561dde7e-7729-0410-be8e-ef83869d6c7d
A bit of cleanup on active_scaffold_controller_for.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@14 561dde7e-7729-0410-be8e-ef83869d6c7d
Really clean it up this time.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@15 561dde7e-7729-0410-be8e-ef83869d6c7d
adding support for constraints. these are already generated from render :active_scaffold calls. now we're using them!

we use constraints to:
* filter the column sets. constrained columns will not appear in the list or forms or anywhere.
* insert constraints into new records. records generated under a constraint stay under the constraint.
* scope the list. you only see the fields that fit the constraints.

...MIA is support for altering the scaffold name based on the constraint



git-svn-id: http://activescaffold.googlecode.com/svn/trunk@16 561dde7e-7729-0410-be8e-ef83869d6c7d
More active_scaffold_controller_for cleanup.

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@17 561dde7e-7729-0410-be8e-ef83869d6c7d
Refactored sub-forms to use a more normal parameters scheme for associations (record[assocation].. instead of _associations[association]). Part of the refactoring was to make it handle parameters with multiple levels of nested associations and not rely on any rails association helper methods (like build_association() or association_ids()). 

git-svn-id: http://activescaffold.googlecode.com/svn/trunk@18 561dde7e-7729-0410-be8e-ef83869d6c7d
refactoring data_structures/column.rb to fix a potential problem with the :field attribute. @field was being set from @table and self.name, but self.name isn't a 
reliable source for the field name. now, @field comes from @table and self.field_name, where self.field_name is a derived attribute.


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@19 561dde7e-7729-0410-be8e-ef83869d6c7d
oops. unprotected column#field_name.


git-svn-id: http://activescaffold.googlecode.com/svn/trunk@20 561dde7e-7729-0410-be8e-ef83869d6c7d