Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Gabriel Medina's latest activity

Monday, March 09 2009
1203 [PATCH] When environment variable "VERSION" exists, db:migration will fail. was updated in Ruby on Rails
  • Gabriel Medina
    Gabriel Medina commented at 3:17 AM

    Btw, IMHO at least the use of environment variables in rails should be prefixed, like RAILS_ENV.

    RAILS_DBMIGRATION_VERSION, RAILS_THIS or RAILS_THAT.

  • Gabriel Medina
    Gabriel Medina commented at 3:14 AM

    I agree with t_yamo. It is stubborn to say that Rails is ok with the use of this (and in my opinion ANY environment variable) and this bug wont_fix.

    To say that...

Saturday, November 01 2008
1203 [PATCH] When environment variable "VERSION" exists, db:migration will fail. was updated in Ruby on Rails
  • Gabriel Medina
    Gabriel Medina commented at 8:17 AM

    Mhh... that would result in a lot of users having no idea why their migrations go back to N version.

    I think an explicit --ignore-env-version or VERSION=HEAD or...

Friday, October 31 2008
1203 [PATCH] When environment variable "VERSION" exists, db:migration will fail. was updated in Ruby on Rails
  • Gabriel Medina
    Gabriel Medina commented at 7:54 PM

    @pantulis: It would. Proposed solution?

  • Gabriel Medina
    • Title changed from When environment variable "VERSION" exists, db:migration will fail. to [PATCH] When environment variable "VERSION" exists, db:migration will fail.
    by Gabriel Medina at 12:22 AM

    Patch attached.

  • Gabriel Medina
    • Tag set to databases.rake, migrate, migration, migrations, rake, task, version
    by Gabriel Medina at 12:18 AM

    Actually, the problem is not limited to Windows, this patch fixes this issue, by checking if no VERSION= command line argument is given, resets VERSION env var,...

1037 [PATCH] :selected option is ignored for collection_select was updated in Ruby on Rails
  • Gabriel Medina
    • Title changed from :selected option is ignored for collection_select to [PATCH] :selected option is ignored for collection_select
    • Tag changed from actionpack, bug, edge, helper, patch, tested, tiny to actionpack, bug, collection, collection_select, edge, helper, ignored, patch, selected, tested, tiny
    by Gabriel Medina at 11:05 AM

    Single file patch.

    Gabriel Medina.

725 ActiveRecord UTC support on find with :conditions was updated in Ruby on Rails
  • Gabriel Medina
    • Tag changed from :conditions, activerecord, find, utc to :conditions, activerecord, connection, date, datetime, find, quote, quote_bound_value, time, utc
    by Gabriel Medina at 9:38 AM

    Hi, can't reproduce error ...

    SQLite3

    Loading development environment (Rails 2.2.0) >> time_str = "2008-07-30T09:44:28+02:00" => "2008-07-30T09:44:28+02:00" >> ...

Saturday, October 18 2008
1225 button_to shows wrong method was updated in Ruby on Rails
  • Gabriel Medina
    Gabriel Medina commented at 11:48 AM
    
    
    <form method="post" action="/main/remove_from_project/777?assignment_id=7777" class="button-to"><div><input onclick="return confirm('Are you sure you want to ...
  • Gabriel Medina
    Gabriel Medina commented at 11:46 AM

    Code again .... >:| @@@html <form method="post" action="/main/remove_from_project/777?assignment_id=7777" class="button-to"><div><input onclick="return confirm(...