similar to: Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)

Displaying 20 results from an estimated 1000 matches similar to: "Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)"

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/.
2008 Dec 08
2
undefined method 'render_file' for class 'ActionView::Base'
I need some help with SimpleLog I have SimpleLog running at HostingRails. I want to develope and test new themes stuff on my local system. I getting the error from actionview_ex.rb:12 undefined method ''render_file'' for class ''ActionView::Base'' I am at: Ruby: 1.8.6 Rails 2.2.2 gem: 1.3.1 rake: 0.8.3 I am a new rails/merb/ruby developer. I think I am on the
2006 May 02
16
no one cares about i18n (was [OT]: Asking questions on this list)
Do most others in the community agree with this statement? It seems to me that i18n is: 1. Actually important to many people 2. Not really the difficult to implement in concept 3. Something that people like to point out about Rails to say it''s not ready foir "Enterprise" It seems to be that a big part of Rails is encouraging people to do things the "Right Way",
2009 Feb 21
5
aspell
can u suggest a link for downloading aspell spellchecker (for tinyMCE Editor) using rails --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2007 Jul 06
3
stubbing helper methods for View specs
Hi there I have several view specs, that include the following snippet in their "before" block to stub the methods by acts_as_authenticated before :each do @u = mock_model(User) @u.should_receive(:name).and_return("Hans Muster") template.should_receive(:logged_in?).and_return(true) template.should_receive(:current_user).and_return(@u) end this
2007 Dec 07
4
strange error on mock proxy
I''m banging my head over this really strange error in a view test when I run "rake spec". The weird thing is that I don''t get the error when I run the spec file by itself. Here is the spec (I know, fixtures are the devil): describe "/units/new.html.erb here" do fixtures :units, :accounts, :groups it_should_behave_like
2003 Jul 15
1
X100P in Australia
G'Day, I need from regarding using the X100P. Some are specific to Australia and I have been told in IRC there are already existing users in oz, so I would appreciate your input. 1) Is the X100P Australia telco approved? 2) I have setup asterisk with X100P and whenever I dial in I cannot get any callerid information. Is this standard behaviour? If not how have other australian users managed
2006 Apr 06
15
A few Newbie questions about RAIDZ
1. I have a 4x18GB drive setup as RAIDZ. Now when thinking about it in terms of RAID5 I would expect to get (4-1)x18 worth of drive space, but DF -h shows 4x18. Is this a bug or do I not understand? 2. Once again thinking in RAID5 terms if I have 4X18GB and 12X9GB drives and I want to make a RAIDZ of all of them I would expect the 18GB to be treated at 9GB so the RAIDZ would be 16X9GB. Is
2008 Jul 04
4
select_datetime // datetime_select
Hi I have 2 question for you guys, 1. Which is the difference between this two methods? (select_datetime, datetime_select) 2. How I assign the selected date-time values, to an specific variable or array using select_datetime I know do it using datetime_select(''object'',''method'') I aprecciate your attention. Thanks PD: Sorry about my english.
2008 Sep 05
4
Java vs. Ruby on Rails
I wrote a blog post <a href="http://www.pardontheinformation.com/ 2008/09/java-vs-ruby-on-rails-it-is-dead-heat.html">Java vs. Ruby on Rails</a> that I thought you might enjoy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2007 Apr 11
2
Open Browser Window help
When I previously designed my static sites in dreamweaver, I used an Open Browser Window behavior which opened a URL in a new window of fixed size by inserting the following: <a href="javascript:;" onclick="MM_openBrWindow(''example.html'', ... ''width=300,height=300'')</a> Is there a simple way to do the same thing in ruby?
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?
2011 May 25
2
g_dbus_connection_real_closed when starting lightdm
Hi, I made the switch from KDE4->XFCE, and because gdm takes more time than xfce to start I would like to replace it with lightdm. I installed lightdm, set it as default display manager and configured the gtk greeter. However, when I start I only get a black screen (x running) and nothing else happens. When I start it as root with the --test-mode argument, I get the following message: lightdm
2006 May 11
5
crating a ajax datagrid
hi, Im looking to build a live data grid, where you can add delete rows using dhtml. and was just wondering if anyone is aware of any plugin''s taht may help me. Ive found this example but if anyone is aware of any other plugin''s please let me know http://unspace.ca/datagrid/update thanks scott -- Posted via http://www.ruby-forum.com/.
2006 Jul 02
7
Generic SingleTable inheritance
Hi all, I would like to discuss a design idea I have in mind with you, in order to get critical feedback. ActiveRecord supports single table inheritance(STI) "per se", BUT you must add all possible instance variables(properties) of all subclasses to the "base table"(as columns). I would like to circumvent this restriction. Say we have a class AbstractGenericThing <
2008 Feb 21
4
undefined method `save' for :Array
hi all when i m trying to save my tags.this error s cmng........cn anybody help me to how to save the array error depicting = undefined method `save'' for []:Array --~--~---------~--~----~------------~-------~--~----~ 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
2010 Sep 20
10
Tinc performance on a Dir-300
Hi, we are using Tinc in our Freifunk Network in Oldenburg for internode connections over the internet. So Tinc is running on OpenWrt 10.03 on Dlink Dir-300 Routers. We all have enough internet bandwith (1,6 MB/sec and more) but we only get a maximum speed of ~350KB/sec between two tinc nodes because then tinc uses 99% of the cpu. Is it possible to get more Speed with tinc on this machines?
2009 Dec 25
5
[Bug 25795] New: windows not redrawn after resize
http://bugs.freedesktop.org/show_bug.cgi?id=25795 Summary: windows not redrawn after resize Product: xorg Version: 7.4 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2005 Aug 22
3
Cannot compile 3.0.x on Solaris 9
Dear list, is there anyone who successfully compiled a Samba 3.0.X on a Solaris 9 box? I tried severl versions of Samba 3.0.* on five rather differently configured Solaris 9 boxes (Sparc) and ALWAYS get a build error on dynconfig.c Sometimes it seems to be a missing ldap-preprocessor define (which is protested by the compiler although I configured --with-ldap=NO), sometimes it is a header file
2006 Jul 18
7
Port scan from Apache?
Hi everyone, today I got an e-mail from a company claiming that my server is doing port scans on their firewall machine. I found that hard to believe so I started checking the box. The company rep told me that the scan was originating at port 80 with destination port 8254 on their machine. I couldn't find any hints as to why that computer was subject to the alleged port scans. Searching