similar to: Reading Yaml files and getting an 'uninitialized constant ActionView::CompiledTemplates' Error

Displaying 20 results from an estimated 400 matches similar to: "Reading Yaml files and getting an 'uninitialized constant ActionView::CompiledTemplates' Error"

2012 Nov 20
0
[PATCH 15 of 15] libxl: ocaml: add bindings for libxl_domain_create_new
# HG changeset patch # User Ian Campbell <ijc@hellion.org.uk> # Date 1353432141 0 # Node ID 72376896ba08bb7035ad4b7ed5a91c2c1b45b905 # Parent 41f0137955f4a1a5a76ad34a5a6440e32d0090ef libxl: ocaml: add bindings for libxl_domain_create_new ** NOT TO BE APPLIED ** Add a simple stub thing which should build a domain. Except it is incomplete and doesn''t actually build. Hence RFC.
2008 Apr 15
2
environment.rb uninitialized constant when starting console
I have the following code in environment.rb: require File.join(File.dirname(__FILE__), ''boot'') raw_config = File.read(RAILS_ROOT + "/config/config.yml") APP_CONFIG = YAML.load(raw_config)[RAILS_ENV] This works fine when running the server, but if I try and start a console I get: Loading development environment.
2007 Nov 15
0
Mini-OS problem
Hey guys, having some trouble getting Mini-OS to start up. I have xen 3.1 installed and am running dom0 fine. I make the Mini-OS directory and then do the following: root@localhost mini-os]# xm create domain_config -c Using config file "./domain_config". Error: Kernel image does not exist: /home/mcleanap/l4/project/xen-3.0.4_1-src/extras/mini-os/mini-os.elf The file does exist, and
2006 May 16
7
Unable to bring up Mini-OS on x86_64
I am getting the following error when I try to bring up Mini-OS on x86_64 Xen (unstable: 9994). It is dying in xc_linux_build() causing xend to fault and restart. Any clue why this happening? Has something changed in the builder that Mini-OS needs to be aware of? PS: I tried reverting changeset 9993 (Allow linking of mini-os with application-specific object code), but still got the same error
2006 Oct 23
0
What does this mean -uninitialized constant ActionView Base
Full error: uninitialized constant ActionView Base::CompiledTemplates Not sure here. I have a controller, model and views for something called ''cana'', Howere I also have a model and a table called ''canb''. In the show template for ''cana'' I''m attempting to do: <% @canbs = Canb.find(:all) %> <% for canb in @canbs %>
2012 Dec 13
4
Strange signing problem in AWS - stumped
Any light someone can shed sure would be appreciated. I start with 1 cert -- the master''s, where I am running this: jblaine@ip-10-191-115-140:~$ sudo puppet cert list --all + "ip-10-191-115-140.ec2.internal" (74:8B:7B:EF:41:E6:F9:98:93:15:42:6A:4C:2F:28:CC) (alt names: "DNS:ip-10-191-115-140.ec2.internal", "DNS:puppet", "DNS:puppet.ec2.internal")
2011 May 06
3
Rails 3 Routing problems
I have an UploadsController and UsersController where Users'' has_many :uploads'' via polymorphic attachment in uploads.rb. Now we i navigate to http://localhost:3000/users/1/uploads I get re-routed to Uploads#index and rendered is called multiple times as shown below: Started GET "/users/1/uploads" for 127.0.0.1 at 2011-05-06 22:00:38 +0100 Processing by
2010 Sep 07
0
numeric key in yam file to be used by config file
I am using a YAML file for my app config, loading it : ---- raw_config = File.read(RAILS_ROOT + "/config/app_config.yml") APP_CONFIG = YAML.load(raw_config)[RAILS_ENV].symbolize_keys --- It''s running well as long as I use alpha keys development: seve: api_token: e09cba8653489749388797926512bb75 then APP_CONFIG[:seve]["api_token"] gives me
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| ...
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 Jul 05
0
ActionView::Base.field_error_proc where to put it?
I found out that ActionView::Base.field_error_proc can be modified to output whatever error format I want for webform elements. At the moment I have it sitting in application_helper.rb and it works just fine. However, I feel that it isn''t the proper place for it. Where do you normally store modified classes? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 May 19
1
how to access ActionView::Helpers::JavaScriptHelper::escape_javascript in a model (a newbie question)
Hi all, Please forgive me for this newbie question. But I really want to know how how to access ActionView::Helpers::JavaScriptHelper::escape_javascript method in a model. I can access this method in view, but when call it in the model, it ends up with undefined method. It seems to me they are in different scope. So what''s the best way to access view helper methods in model. --
2008 Mar 13
0
ActionView::TemplateError when FQL query does not return any results
I submitted this as a bug here: http://rubyforge.org/tracker/index.php?func=detail&aid=18799&group_id=4187&atid=16130 However, I just realized that I probably should have posted here first. Has anyone else had a similar experiance with queries that don''t return results? I have the following FQL Query: "SELECT uid FROM user WHERE has_added_app = 1 AND uid IN (SELECT
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
2006 Jan 11
0
Test ActionView Helper...
I''m just programming some needfull helpers i put the latest trunk into the vendors folder. works fine. But when i change something i have to restart Webrick. how can i test it in an other way? cu Basti -------------------------------------------------------------------- Validcode - Sebastian Gr??l http://www.validcode.at http://sg.validcode.at _______________________________________
2005 Dec 19
0
ActionView::Helpers::FormHelper.text_field
Hi, Is it possible to use the ActionView::Helpers::FormHelper.text_field with an instance variable instead of a model. e.g. In the controller: def meth @value = ''hi there'' end In view: <%= text_field ''value'', nil %> It doesn''t work with what is above (doesn''t like the nil) and produces very strange results replacing nil with
2009 Sep 24
2
Calling ActionView from uninheriting class
Hi Gurus, I have a class, specified in models cart.rb, which doesn''t inherit from anything--it''s just a container class Cart ... I just discovered I can''t call number_to_currency in that class. Any idea how to "include" it in my code? I tried ActionView.number_to_currency without luck. I could kill a few lines of non-DRY regexp code in cart.rb if I could
2012 Sep 03
0
time_zone_options_for_select method in ActionView::Helpers is not DST aware
We are using time_zone_options_for_select for the letting the user to select the timezone to assign to an object. But we are having trouble because currently we are on DST period, so in utc -5 but the list is showing utc-6 (the normal offset) As per usage suggested in this issue: https://github.com/rails/rails/issues/7297. I wrote a custom method to solve this temporarily:
2010 Mar 25
0
Rails 3.0 + haml render partial ActionView::MissingTemplate
I''m upgrading one of my apps to rails 3.0 I get this error: ActionView::MissingTemplate Missing partial /layouts/header with {:formats=>nil} in view path for: = render :partial => "layouts/header" the file is in views/layouts/header. From the error message, it looks like it appends an absolute path: "/ layouts/header" Anyone has seem this problem when
2014 Mar 19
0
ActionView::Template::Error: end of file reached Rails 4.0.4
I have an application I'm migrating from Rails 3.2 to 4.0. On my CI environment, I'm getting "ActionView::Template::Error: end of file reached" randomly in different controller specs pointing to a view in which I have "javascript_include_tag 'application'". Has anyone seen this before? Relevant gems: rails (4.0.4) sprockets (2.11.0) sprockets-rails (2.0.1)