Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

rails uses arrays very much #87

Open
wants to merge 1 commit into from

1 participant

@kritik

No description provided.

@kritik

this is useful because in the form we can have multiple selection. It returns us an array of values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 9, 2013
  1. @kritik

    rails uses arrays very much

    kritik authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/active_resource/schema.rb
View
2  lib/active_resource/schema.rb
@@ -2,7 +2,7 @@ module ActiveResource # :nodoc:
class Schema # :nodoc:
# attributes can be known to be one of these types. They are easy to
# cast to/from.
- KNOWN_ATTRIBUTE_TYPES = %w( string text integer float decimal datetime timestamp time date binary boolean )
+ KNOWN_ATTRIBUTE_TYPES = %w( string text integer float decimal datetime timestamp time date binary boolean array )
# An array of attribute definitions, representing the attributes that
# have been defined.
Something went wrong with that request. Please try again.