Neeraj Singh
Member of 1 project: Ruby on Rails
Neeraj Singh's latest activity
Wednesday, April 20 2011
-
Neeraj Singh commented at 10:02 AM@steve
to_s is currently not being called on ActionDispatch::RemoteIp::RemoteIpGetter. Rather the value is left intact. In other words value is not being altere...
-
Neeraj Singh commented at 3:46 AMI investigated a bit and this is what I found.
The output looks like this https://gist.github.com/930236
Look at #8 the key is (action_dispatch.request.paramete...
Tuesday, April 19 2011
-
- Importance changed from to Low
Which version of Rails you are using? I tested it with one of my apps which is using Rails 3.0.3 and this is what I am getting. Notice that password is filtered...
Saturday, April 09 2011
-
- State changed from new to open
- Assigned user set to José Valim
- Importance changed from to Low
Fix is here. See the last commit.
-
- State changed from new to open
- Assigned user set to José Valim
- Importance changed from to Low
Fix is here. Please see last two commits.
Monday, April 04 2011
-
- State changed from resolved to open
@Alexey. Now I see your point.
class User < ActiveRecord::Base def self.lab u1 = User.create User.delete_all u1.name = 'foo' puts u1.save #=>... -
Neeraj Singh commented at 6:06 PMBefore hitting save you are doing
p.name = "John"Now that line is throwing exception since the object is frozen. So you don't even get to save method.
-
- State changed from new to resolved
Fixed in https://github.com/rails/rails/commit/b35617235d43bdb32016a623044e7... .
Make sure that in console first you do
ActiveRecord::IdentityMap.enabled = t... -
Neeraj Singh commented at 5:04 AMIt seems miloops has a fix for Identity mapping. https://github.com/rails/rails/pull/251/files
-
- Importance changed from to Low
Following code is causing problem
p = Person.create(:name=>'Bill') Person.find(p.id).destroy p.persisted? # => true p.destroyed? # => false p.name = "J...