similar to: <%= render_component %> Tag cloud issue for rails version 2.3.11

Displaying 20 results from an estimated 3000 matches similar to: "<%= render_component %> Tag cloud issue for rails version 2.3.11"

2012 Feb 02
3
WEBrick WEBrick server became extremely slow
hi all, for some reason my WEBrick server became extremely slow on live.i am using Fedora 14 and Ruby 1.8.7 ,Rails 2.3.11 and RubyGem 1.6.2. is there any reason why this would be the case? -- Thanks and Regards Sachin S. Kewale -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Jan 17
5
Accessing the ROR Application
hi all, I successfully deployed the ROR project on Centos server,i have one question how can i access that application from my machine ? on starting WEBRick server it is started on this ip http://0.0.0.0:3006, i want to set my machine ip in place of ''http://0.0.0.0:3006'' and also how i can access it from my machine ? Thanks in advanced. Thanks and Regards Sachin S.
2011 Dec 16
4
nil object Error
hi all, i am getting following error ,i can''t figure it out why and from where it is coming ? please help me out to resolved this error if anyone knows about this issue. i am using following env. O.S:Windows XP Ruby:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] Rails:Rails 2.3.11 Gem:1.6.2 ActionView::TemplateError (You have a nil object when you didn''t expect
2006 Sep 12
2
Cache sweeping and render_component (my mistake or Rails bug?)
Hi I''m working on a program which relies on heavy cache sweeper usage. I''ve just bumped onto an odd problem. When using render_component method in layouts or templates with cache sweeping turned on, Rails throws an exception with the following message: NoMethodError in TestController#index You have a nil object when you didn''t expect it! The error occured while
2011 Dec 05
2
About Latest version of ROR
hi all, i have application developed in following ruby ,rails and gem version i want to upgrade it with latest version,can anyone tell what are stable version for ruby,rails and gem ? and also with compability for Ruby and Rails version with latest gem version ? gem version:1.3.7 ruby version:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] rails version:Rails 1.1.6 thanks in advanced
2011 Dec 23
6
http session nil
hi all, i am new in ruby on rails,i have one issue regarding the session in ruby on rails.I am using session , i have following condition in my rhtml <%if @session[''user''].first_name == "admin"%> <table width="290" border="0" height="20" align="right" cellspacing="0"
2006 Apr 10
4
has render_component changed?
I have an application that worked fine, but after the recent updates has broken in some calls to render_component from views. I might be missing something but as far as I remember Rails updates is the only thing I''ve done in between. See the log: *** START LOG SNIPPET Start rendering component ({:params=> {:center_id=>10, :id=>25},
2012 Feb 28
8
getting error:undefined method 'current'
hi all, i am getting an error ''undefined method ''current'' for 852:Fixnum'', the error coming for following line <%if @expert_pagination.current.previous%> <a href="#" class="darkgray1"
2006 Jan 24
1
render_component and private access...
I was wondering if rails had any means of restricting access to an action in a controller (like they can''t type in url.com/cont/action, that would throw an error). The thing is I would like to be able to access this method/action through a call to render_component, so therefore, I don''t think private methods will work. So basically I am looking for something that cannot be
2006 Feb 08
1
render_component vs. render_component_as_string?
I''m calling render_component in a helper. render_component :controller => target_controller, :action => "show", :id => target_id This works fine, except that passing the id in :params didn''t work and I had to pass in an explicit :id parameter to get the target controller to override the id - is that documented anywhere? That''s not my question. My
2011 Feb 28
1
Problem with render_component and rails 3
I have a application that it use view/layout/application.rhtml, in this file I have: <%= render_component :controller => ''car'', :action =>''index''%> But there is one problem, it display this problem: undefined method `render_component'' for #<#<Class:0xb67e6e48>:0xb67e5f34> How can I resolve this problem? -- You received this
2006 May 26
1
flash.keep not working with render_component
Using Rails 1.1.2 and ruby 1.8.4 I''m having a weird issue with the flash when using render_component for an action inside different controller than the one from which you render. I''m passing an object via flash across a couple of actions (new and create) behind the scenes using flash.keep(:object). It works fine if the component I''m rendering is in the same
2006 May 07
0
caches_action and render_component
I''ve made some test: ------------------ CODE ------------------ class FooController < ActionController::Base caches_action :foo def foo render_text ''Hello, foo<br />'' end end class BarController < ActionController::Base def bar render :inline => <<-EOS Hello, bar <br /> <%= render_component(:controller =>
2006 Mar 14
0
how to render_component in global layout
Hello, i have one layout file for all controllers. I would like to have news list on each page. So, i put <%= render_component :controller => "news", :action => "list" %> , to my layout file. But this doesn''t work at all. I get error "Application could not be started.. ". If I put render_component to some view file say
2006 Aug 11
5
Why does no one like render_component?
Maybe I''m missing the point? Lets take for example albums of pictures. If I have a scaffold for each, and I''m showing an album, what if I want to list all of the pictures that are in the album? Surely, I''d want to call the List action in the picture controller. render_component would do this perfectly. But we''re told not to use render_component. So
2006 Apr 13
1
Layouts in render_component?
Hi All, Silly newb question. Is there a reason why :layout is unimplemented in render_component() ? I''m looking at a situation where that would *seem* to be the right answer. Are there any patches available to add this? JK
2006 Feb 01
1
detecting whether a request comes from render_component
Hi All, Anyone know if there is a way to detect whether a request came from a render_component call? There isn''t anything obvious from looking at the source, but it would be useful as I have set up a logging filter in my application.rb, and I''d prefer to exclude all component renders, since they just add extra lines to my log (I guess I could exclude identical rows at the db
2006 Apr 21
1
render_component includes layout
I have dynamically generated list of links that I wish to include in different views, I''m using render_component to do this but it is also including the layout. How do I turn layout off on a per action basis? Many thanks, K. -- Posted via http://www.ruby-forum.com/.
2006 Mar 03
0
render_component in application.rhtml
I''m using application.rhtml as the common layout for all controllers in my app. I want to add navigation links inside the header portion of each page and this section is in the application layout (application.rhtml). The navigation links also include inforation like username and a link to logout if the user is logged in, or link to login...standard stuff. Anyway, i have controller
2006 Jan 13
0
Layout not rendered when render_component used
Hi I''ve got a login action that handles authenticating users, setting cookies and, via its view, displaying an HTML snippet containing a form with username and password fields. It''s called from the main application.rhtml layout so I don''t need to have a seperate page (away from the main site) with a login form. My user model is more-or-less the same as in the Agile RoR