Skip to content

issues Search Results · repo:tlconnor/activerecord-postgres-array language:Ruby

Filter by

20 results
 (70 ms)

20 results

intlconnor/activerecord-postgres-array (press backspace or delete to remove)

For an empty array, the default ends up looking like :default = {} in schema.rb, however, this doesn t get single-quoted when turned into a CREATE TABLE statement, causing rake db:schema:load to fail. ...
  • emma-borhanian
  • Opened 
    on Aug 29, 2014
  • #39

I ve been using this gem for over a year, and I just ran bundle update and for some reason now it keeps raising unit_amenities must be an Array or have a valid array value ( { balcony , dishwasher , hardwood ...
  • avishai
  • 4
  • Opened 
    on Oct 15, 2013
  • #37

Hey @tlconnor, I m working in a legacy project which we re trying to upgrade but right now that s not possible (lot of code, can t stop the production servers, almost no coverage, etc) so we have to keep ...
  • sobrinho
  • 1
  • Opened 
    on Oct 15, 2013
  • #36

undefined method type_to_sql for nil:NilClass/home/eug/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-postgres-array-0.0.10/lib/activerecord-postgres-array/activerecord.rb:80:inblock (2 levels) in class:TableDefinition ...
  • spr1te5
  • 1
  • Opened 
    on Oct 2, 2013
  • #35

Upgrading to v0.0.10 breaks my current application. PG::InvalidTextRepresentation: ERROR: array value must start with { or dimension information I receive this error if the array is empty, haven t ...
  • abstractcoder
  • 11
  • Opened 
    on Sep 17, 2013
  • #34

I have this in my migration: t.string_array :roles, :default = {} but, when a try to run the migration a receive this erro message: PG::SyntaxError: ERROR: syntax error at or near { LINE 1: ...integer, ...
  • lcezermf
  • 4
  • Opened 
    on Jul 30, 2013
  • #32

(a) I ve created a table with a decimal_array (which maps to PG s numeric[]). However, rake is not refusing to dump it in schema.rb with the following error: Unknown type numeric[] for column rate ...
  • saurabhnanda
  • 1
  • Opened 
    on Jul 9, 2013
  • #30

I know supporting arel-type query constructs is mentioned in your future enhancements, but would it be possible to give me some pointers on how to get the following working WITHOUT resorting to string-based ...
  • saurabhnanda
  • Opened 
    on Apr 15, 2013
  • #29

So I ran into this issue after upgrading to the latest version of activerecord-postgres-hstore https://github.com/engageis/activerecord-postgres-hstore/commit/ca34391c776949c13d561870067ddf581f0561b9 ...
  • Tonkpils
  • 2
  • Opened 
    on Feb 15, 2013
  • #24

Code: user.roles = (user.roles || []) + [role_name] user.save Get: PG::Error: ERROR: array value must start with { or dimension information LINE 1: ..._name = Admin , last_name = Shop , roles ...
  • Paxa
  • 1
  • Opened 
    on Feb 6, 2013
  • #23
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub