Will not be useful functionality similar https://github.com/shell/rails3_before_render ? Something like ActionController filters but not before action. Filters before render. See also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem for this? Thanks. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/VVF2HksqidUJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Please show any real use case where this will be useful, to make things more clear. Otherwise it''s just hard to figure it out examples where it''s useful or not. Thanks. On Wed, Sep 5, 2012 at 3:53 PM, Alexander Kurakin <kuraga333@mail.ru> wrote:> Will not be useful functionality similar > https://github.com/shell/rails3_before_render ? Something like > ActionController filters but not before action. Filters before render. See > also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, > http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem > for this? Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-core/-/VVF2HksqidUJ. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- At. Carlos Antonio -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
I think that links'' authors know better than me all of causes. But I use render filters for decorating objects (similar to https://github.com/ohwillie/decorates_before_rendering) and setting page variables (that procedure is equal for each controller and use result of action''s action). P.S. It will be simply to realize with accepting suggestion https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-core/uotv0zVISRE . среда, 5 сентября 2012 г., 22:53:50 UTC+4 пользователь Alexander Kurakin написал:> > Will not be useful functionality similar > https://github.com/shell/rails3_before_render ? Something like > ActionController filters but not before action. Filters before render. See > also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, > http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem > for this? Thanks. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/LpTEwnRYIEUJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This explanation seems almost schizophrenic. What are you trying to say? Could you slow down and explain it in more elaborate terms please? On 18/10/2012, at 6:22, Alexander Kurakin <kuraga333@mail.ru> wrote:> I think that links'' authors know better than me all of causes. But I use render filters for decorating objects (similar to https://github.com/ohwillie/decorates_before_rendering) and setting page variables (that procedure is equal for each controller and use result of action''s action). > > P.S. It will be simply to realize with accepting suggestion https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-core/uotv0zVISRE . > > среда, 5 сентября 2012 г., 22:53:50 UTC+4 пользователь Alexander Kurakin написал: >> >> Will not be useful functionality similar https://github.com/shell/rails3_before_render ? Something like ActionController filters but not before action. Filters before render. See also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem for this? Thanks. > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/LpTEwnRYIEUJ. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
On Wednesday, September 5, 2012 3:53:50 PM UTC-3, Alexander Kurakin wrote:> > Will not be useful functionality similar > https://github.com/shell/rails3_before_render ? Something like > ActionController filters but not before action. Filters before render. See > also http://www.perfectline.ee/blog/ruby-on-rails-before-render-filter, > http://penkin.co.uk/rails3_before_render-plugin/. And don''t you know gem > for this? Thanks. >I guess he wants some mechanism that hooks into the action processing workflow so you can declarativly define stuff (in the controller, like a filter) that is done with the model before it is passed to the rendering layer. Just guessing without following the links! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/Jukh-LfT2hEJ. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.