Neeraj Singh
Member of 1 project: Ruby on Rails
Neeraj Singh's latest activity
Saturday, January 22 2011
6226
before_filters overwriting each other
was updated
in Ruby on Rails
-
- Importance changed from to Low
This is how callbacks are working right now.
class A < ApplicationController before_filter :ensure_logged_in, :only => [:index] def index end end class B...
5875
render_to_string :json (or :xml or :update) before render results in DoubleRe...
was updated
in Ruby on Rails
-
Neeraj Singh commented at 12:24 AMHere is an improved version.
https://github.com/neerajdotname/rails/compare/master...t_5875app
Friday, January 21 2011
5875
render_to_string :json (or :xml or :update) before render results in DoubleRe...
was updated
in Ruby on Rails
-
Neeraj Singh commented at 8:49 PMSetting self.response_body = nil become [ nil ] because of this line of code
# action_controller/metal.rb def response_body=(val) body = val.respon... -
Neeraj Singh commented at 8:05 PMMy tests were failing with setting self.response_body = nil
def render_to_string ..... self.response_body = nil end #/metal/rendering.rb puts response_body #=... -
Neeraj Singh commented at 7:26 PMLH is still not liking it . Here is the patch
https://github.com/neerajdotname/rails/commit/fea223330ca8a5887b01c...
-
-
- State changed from new to open
- Milestone set to 3.x
- Tag changed from actioncontroller workaround doublerendererror render bug to actioncontroller workaround doublerendererror render bug, patched
- Assigned user set to José Valim
This is an edge case. You will run into this error only if you are using
render_to_string(:json => '') render_to_string(:xml => '') render_to_string(:js => '')...
Friday, January 14 2011
-
-
Neeraj Singh commented at 1:39 PMI don't follow your assertion. In order to make that test pass you need to do
user.update_attributes :contacts_attributes => [{:id => contact.id, '_destroy' =... -
Neeraj Singh commented at 4:40 AMPlease read the readme at https://github.com/neerajdotname/t_6227 .