Git Product home page Git Product logo

crisco's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

crisco's Issues

Handle urls larger than 256 characters.

For instance: https://maps.google.com/maps?saddr=Birmingham,+AL&daddr=Mexico+Beach,+FL+to:Ocala,+FL+to:Key+West,+FL&hl=en&ll=29.036961,-83.474121&spn=12.54647,22.785645&sll=29.05617,-83.496094&sspn=12.544153,22.785645&geocode=FRV8_wEdxn_T-inTv4VY3xGJiDHOVLrqCXRQJQ%3BFU_4yAEdB6Do-iknCQQcxZeUiDEcbouFFOTfEg%3BFX9cvQEdRKQa-ynlPLocVCvmiDE2BTix5Dv19Q%3BFbawdgEdwRgg-ymtw-_iyrbRiDGaOZLQl8XB7g&oq=Birmin&mra=ls&t=m&z=6

returns a 500 error.

2013-06-15T04:40:24.256818+00:00 app[web.1]: Started POST "/links" for 68.190.13.69 at 2013-06-15 04:40:24 +0000 2013-06-15T04:40:24.262003+00:00 app[web.1]: Processing by LinksController#create as */* 2013-06-15T04:40:24.262003+00:00 app[web.1]: Parameters: {"original_url"=>"https://maps.google.com/maps?saddr=Birmingham,+AL&daddr=Mexico+Beach,+FL+to:Ocala,+FL+to:Key+West,+FL&hl=en&ll=29.036961,-83.474121&spn=12.54647,22.785645&sll=29.05617,-83.496094&sspn=12.544153,22.785645&geocode=FRV8_wEdxn_T-inTv4VY3xGJiDHOVLrqCXRQJQ%3BFU_4yAEdB6Do-iknCQQcxZeUiDEcbouFFOTfEg%3BFX9cvQEdRKQa-ynlPLocVCvmiDE2BTix5Dv19Q%3BFbawdgEdwRgg-ymtw-_iyrbRiDGaOZLQl8XB7g&oq=Birmin&mra=ls&t=m&z=6"} 2013-06-15T04:40:24.294349+00:00 app[web.1]: 2013-06-15T04:40:24.294349+00:00 app[web.1]: ActiveRecord::StatementInvalid (PG::Error: ERROR: value too long for type character varying(255) 2013-06-15T04:40:24.294349+00:00 app[web.1]: app/controllers/links_controller.rb:10:increate'
2013-06-15T04:40:24.294349+00:00 app[web.1]:
2013-06-15T04:40:24.294349+00:00 app[web.1]:
2013-06-15T04:40:24.292147+00:00 app[web.1]: Completed 500 Internal Server Error in 30ms`

Update to Rails 4.0

it's at rc2 now, should be at full release by the time the rest of 3.0 is done

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.