John Barker
Not a member
John Barker's latest activity
Monday, April 25 2011
6648
PostgreSQL add column behaves differently to other adaptors (SQlite, MySQL) w...
was updated
in Ruby on Rails
-
John Barker commented at 5:11 PMJust realised this was also fixed in master, so simply back-ported the fix and made the diff as per the guide, applied it with 'git am ...' and it works, passes...
Saturday, April 23 2011
6648
PostgreSQL add column behaves differently to other adaptors (SQlite, MySQL) w...
was updated
in Ruby on Rails
-
John Barker commented at 11:16 AMRails actually sends separate commands to the database when you do an add_column, not a single alter table statement. Your example SQL alter table statement is ...
Wednesday, March 30 2011
6648
PostgreSQL add column behaves differently to other adaptors (SQlite, MySQL) w...
was created
in Ruby on Rails
-
John Barker created the ticket at 8:06 AMWhen adding a column to a table with a migration, like so:
add_column :receivables, :arrears, :boolean, :default => falseand using SQLite or MySQL, the col...
Thursday, November 27 2008
1449
Routing doesn't work with url that omits 0s such as 127.1, 10.1, 192.168.1
was updated
in Ruby on Rails
-
John Barker commented at 10:33 PMAdding the private method to ActionController::AbstractRequest
# Expands an ip address specified in short format, e.g: 127.1 becomes 127.0.0.1 def ex...
Sunday, November 23 2008
1449
Routing doesn't work with url that omits 0s such as 127.1, 10.1, 192.168.1
was created
in Ruby on Rails
-
John Barker created the ticket at 3:40 PMUsing a URL such as '10.1' (10.0.0.1) which is a correctly formatted IP address, the router seems to fail with the error:
No route matches "http:/" with {:metho...