similar to: undefined method 'render_file' for class 'ActionView::Base'

Displaying 20 results from an estimated 2000 matches similar to: "undefined method 'render_file' for class 'ActionView::Base'"

2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am getting: '' => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment...
2006 May 25
1
AppMailer and McCray''s theme generator
Hi, I am using Matt McCray''s theme generator. http://rubyforge.org/projects/theme-generator/ Everything works fine, but rendering an action in a controller using the AppMailer raises this: undefined method `current_theme'' for #<AppMailer:0x39df950> Is there someone who could help me ? Thanks ! Mickael. Traces:
2006 Aug 08
1
SimpleLog 1.1 Released
Version 1.1 of my simple Rails weblog application, SimpleLog, has been released. There are a ton of new features. Here are just a few: * Support for PostgreSQL (SQLite support coming soon) * New preferences section of the admin tool * Many simplifications to forms to make posting even faster and easier, advanced settings are hidden by default (and easily expandable) * Added two new text filter
2006 Jul 14
7
Using ActionView free style
ActionView is a very useful class, in its own right. But, calling it by itself causes a weird crash, exiting Ruby, without even raising an exception! ruby script/runner "begin; av = ActionView::Base.new; av.render(:inline => ''Hi!''); rescue => e; puts e; end" just crashes Ruby. Same with render(:file => ''template.rhtml'') Why is this?
2006 Dec 09
2
anyone here have a RoR site on netfirms?
i jumped on a deal for netfirms hoping to use their service for my first rails app. however, their tutorials are lacking and i am having trouble kicking off my rails application. here are the directions they gave me: http://support.netfirms.com/idx.php/26/649/SCRIPTS--APPLICATIONS/article/Ruby-on-Rails-Quickstart-Guide.html but in those directions, it says nothing about configuring the fcgi
2006 Mar 12
0
ERB and Builder template engines shouldn''t be so heavily wired in ActionView::Base
Problem: 1. ERB and Builder template engines are heavily wired in ActionView::Base 2. Should be optional. If we use different engine - why load all their stuff if not needed? 3. There are template engines which expect files in their own locations and cache them in their own way. For instance a template engine may store templates in a database. These engines don''t need any central source
2006 Jun 20
1
typo proplem here? what may be wrong?
Hi, I am following the tutorial on the hostingrails site but running into problems. I am pretty sure my files match everything that is in the tutorials. here is whats in my production.log file: ActiveRecord::StatementInvalid (Mysql::Error: Table ''hrkoloa_typo.triggers'' doesn''t exist: SELECT * FROM triggers WHERE (due_at <= ''2006-06-19 22:37:23'')
2008 Feb 15
3
Ajax problem with rails 2.0.2 - frozen string?
I am deploying a new rails application on a shared host (hostingrails) for the first time. My local app works great. However, Ajax requests in the deployed application are generating the following error: /!\ FAILSAFE /!\ Fri Feb 15 08:44:59 -0600 2008 Status: 500 Internal Server Error can''t modify frozen string /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
2007 May 30
2
ActionView::TemplateError
Hi, I have a strange problem that only occurs on the production server. I''ve been banging my head for hours trying to figure it out with no success. Below is a copy of the error from the production log. ActionView::TemplateError (Expected /www/rails_apps/scanlan/current/ public/../config/../app/models/image.rb to define Image) on line #6 of app/views/admin/design/_record.rhtml: 3:
2008 Feb 22
0
hostingrails vps?
Anyone here using a VPS from hostingrails.com ? I''m interested in their Ruby on Rails VPS Image "Ready to Roll", for obvious reasons. http://www.hostingrails.com/vps_hosting I''ve searched and all the comments about hostingrails to date have been about their shared hosting, not VPS. Thanks, John --~--~---------~--~----~------------~-------~--~----~ You received this
2006 May 26
1
render_file works, render :file doesn''t
I have these two bits of code: <%= render_file @item.path, false %> <%= render :file => @item.path, :layout => false %> The first line works, the second doesn''t (results in a blank page - nothing in the logs either). Any idea what the problem is? Joe -- Posted via http://www.ruby-forum.com/.
2009 Jun 09
0
Rails Hosting for Newbies
Hello all. This is probably an unusual first-time post but here goes. First of all, I''m new to the worlds of both Ruby and Rails, so I don''t have a lot to give in the way of Ruby or Rails. . . yet. However, I am a long time coder and I hope to be able to contribute before long. In the meantime, I do have something to share with you today. It is a testimonial about something I
2006 Jun 15
3
rails-based blog roundup
I''m considering rolling my own rails-based blog, but want to take a look at what''s available first. Here''s what I know about: Typo http://typosphere.org/ Simplelog http://simplelog.net/ Mephisto http://weblog.techno-weenie.net/2006/6/12/mephisto-out-in-the-wild Am I missing anything?? Thanks, -TJ
2006 Jun 24
4
blog generator?
Hi Guys, I''ve been out of the rails loop for a couple of months. Now Im about to deploy another new app. But I need to add a simple weblog to the application... has anyone done a weblog generator or do yoyu know of any weblogs thats easy to integrate in a current app?? thanks in advance! Mikkel Bruun www.strongside.dk - Football Portal(DK) ting.minline.dk - Buy Old
2006 Sep 06
22
ROR host: dreamhost or godaddy?
hi all, i am looking for a host for my ROR web app. the target audience will be 70% from mainland china, and 30% from the rest of the world. i dont want a chinese hosst because: 1. it''s very slow for the rest of the world to access to it. 2. the speed is quite ok for china to access the us sites. both dreamhost and godaddy provide similar budget plans, and i saw them all from this
2009 May 22
1
rails 2.3.2, active scaffold, nested, ActionView::TemplateError (undefined method `format_column' for #<ActionView::Base:
Before I dig in any further (since I have no idea where to go from here...) Has anyone been succcessful with 2.3.2, AS, and nested scaffolds? I have the latest of AS and the render_component plugin via % script/plugin install --force git://github.com/lackac/render_component.git -r rails-edge I have an AS user_controller: active_scaffold :user do |config| ...
2006 Dec 16
2
comments on hostingrails.com and railsplayground.com ?
hey all, Im looking at switching from bluehost to a new provider. Mainly for Mongrel, trac and SVN support. I was hoping to get some feedback on the above mentioned hosting companies I have posted this as part of an existing ''what privider would you reccomend topid'' But have considered it and decidec it deserves its own topic. cheers, Adam -- Posted via
2013 Feb 28
1
Make `ActionView::Helpers::InstanceTag#tag_id`, `ActionView::Helpers::InstanceTag#tag_id_with_index(index)` public?
As I asked in StackOverflow<http://stackoverflow.com/questions/15127658/hoe-to-get-tag-id-from-a-record-in-form-for/15129741> I think it would be helpful since we can dynamically create javascript code to control each input tag in form helper, what do you think? Or there has already been a solution? -- You received this message because you are subscribed to the Google Groups "Ruby
2006 Sep 04
1
Overriding ActionView::Helpers::InstanceTag::DEFAULT_TEXT_AREA_OPTIONS
What is the best way to override some of the FormHelper default options? Right now I''m adding this to the beginning of my environment.rb: ActionView::Helpers::InstanceTag::DEFAULT_TEXT_AREA_OPTIONS = { "cols" => 80, "rows" => 5 } Is that the way it''s supposed to be done? --~--~---------~--~----~------------~-------~--~----~ You received this message
2006 Feb 10
2
How do I test actionview helpers in the console?
I would like to see the output of actionview helper methods, to be able to play with it. When I do the following in the console: collection_select("job", "client_id" , @clients, "id", "name") I get: NoMethodError: undefined method `collection_select'' for #<Object:0xb7cf1970> I''d like to get something like: <select