codemanki
Not a member
codemanki's latest activity
Tuesday, October 12 2010
-
codemanki commented at 7:58 PMAh! Something wrong with the code
class TestController < ApplicationController
require "pp"def one
session[:ola] = 1 render :text => "this is one"end
def tw...
-
- Importance changed from to
I tried to recheck this bug, but got nothing:
class TestController < ApplicationController
require "pp"def one
{mkd-extraction-3428d314cffbe6c81677aaeb159e9ce...
Sunday, October 10 2010
-
codemanki commented at 11:51 AMThis ticket can be closed, i suppose. I tested these migrations and got
/Users/codemanki/projects/misc/rails/activerecord/lib/active_record/connection_adapters... -
codemanki commented at 11:41 AMRobert, yes, this is because there is a limit of 64 chars per index name - database_limits.rb:21
And here is a exception which must be raise, but i think in mi...
Saturday, October 09 2010
-
codemanki commented at 8:23 PM@José No, you are not missing. It can be done in this way too. Or even @user.as_json.merge(:can_login => true).to_json :)
So, you think this is unnecessary feat... -
codemanki commented at 8:04 PM@José Lets say, i have
User.first.to_json , and it will return something like "{"login": "codemanki", "email": "mail@gmail.com"}"
And i can do
proc = Proc.new{|...
Friday, October 08 2010
-
codemanki commented at 10:38 PMOh. something hapened with code.
rails/activemodel/lib/active_model/serializers/xml.rb line 100@builder.tag!(*args) do add_attributes_and_method... -
codemanki commented at 10:36 PMHere is my opinion. I did a little research on serialization :).
When you do
User.first.to_xml(:procs => [Proc.new{|options|}])
OR
User.first.to_xml(:procs => [...
-
codemanki created the ticket at 11:19 AMTest railties/test/railties/engine_test.rb fails:
Failure
test_engine_is_a_rack_app_and_can_have_his_own_middleware_stack(RailtiesTest::EngineTest)
[test/railt...