flex_columns
flex_columns copied to clipboard
Schema-free, structured JSON storage inside a RDBMS.
Hi! It looks like flex_columns dont support rails 5. Its about limitiations in gemspec file. Do anyone plan to fix this problem?
Difference between jsonb and json column types is only internal. All input accepted by json is also accepted by jsonb. For more details, see: http://www.postgresql.org/message-id/[email protected]
NoMethodError being raised when using flex_columns with Rails 4.2. ActiveRecord 4.2 removed the #text? method from its API. ``` NoMethodError: undefined method `text?' for # # ./lib/flex_columns/definition/flex_column_contents_class.rb:287:in `find_column' ```
For example: User.all_flex_field_names_in(:column_name) # => [:field_1, :field_2] User.all_flex_field_names #=> [column_1: [:field_2, :field_3], column_2: [:field_4, :field_5]]
If you use include_flex_columns_from, and the flex_column on the target model has the same name as the association from the original model to the target model, you get an infinite...