search for: action_view

Displaying 20 results from an estimated 296 matches for "action_view".

2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
...----------- Name: test_custom_template(ActionMailerTest) Type: Failure Message: Exception raised: Class: <ActionView::TemplateFinder::InvalidViewPath> Message: <"Unprocessed view path found in [\"./test/fixtures\"]"> ---Backtrace--- ./test/../lib/../../actionpack/lib/action_view/template_finder.rb:156:in `check_view_paths'' ./test/../lib/../../actionpack/lib/action_view/template_finder.rb:155:in `each'' ./test/../lib/../../actionpack/lib/action_view/template_finder.rb:155:in `check_view_paths'' ./test/../lib/../../actionpack/lib/action_view/template...
2007 Dec 07
4
strange error on mock proxy
...} %> 16: </li> vendor/plugins/rspec/lib/spec/mocks/proxy.rb:71:in `send'' vendor/plugins/rspec/lib/spec/mocks/proxy.rb:71:in `message_received'' vendor/plugins/rspec/lib/spec/mocks/proxy.rb:100:in `include?'' vendor/rails/actionpack/lib/action_view/helpers/ form_options_helper.rb:304:in `option_value_selected?'' vendor/rails/actionpack/lib/action_view/helpers/ form_options_helper.rb:163:in `options_for_select'' vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb: 29:in `inject'' vendor/rail...
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
...;http://localhost:3100/controller_actions/1/edit#> | Full Trace<http://localhost:3100/controller_actions/1/edit#> app/views/controller_actions/_form.html.erb:21:in `block (2 levels) in _app_views_controller_actions__form_html_erb__366592963_95670400'' actionpack (4.0.0.beta1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'' actionpack (4.0.0.beta1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'' actionpack (4.0.0.beta1) lib/action_view/helpers/capture_helper.rb:38:in `capture'' actionpack (4.0.0.beta1) lib/action_view/he...
2009 Feb 25
9
local variables in partials lead to NameError
I know I must be doing something dumb, but I can''t seem to send a local variable to my partial. The below code leads to the following error: NameError in Residential_listings#new undefined local variable or method `foo'' for #<ActionView::Base: 0x3fb53f8> I am trying to call the variable ''foo'' in a partial called _attachment.html.erb, which is nested in
2011 Mar 16
1
Help overriding rescue_action_in_public in Rails 3
...html.erb:4 is: <%= stylesheet_link_tag "app", "jquery-ui", "jquery.fancybox", :cache => "all" %> Whatever ActionView normally uses to render templates isn''t getting loaded. The stack trace is: /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:794:in `join'' /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:794:in `rails_asset_id'' /var/lib/gems/1.8/gems/actionpack-3.0.5/lib/action_view/helpers/asset_tag_helper.rb:817:in `rewrite_asset_path'' /var...
2006 Jun 08
1
No rhtml, rxml, or delegate template found
...orden_user'', :locals => {:poll => @poll, :user => @user} %> <% else %> .... gives me the error => No rhtml, rxml, or delegate template found for polls/_antwoorden_user here''s is the application trace c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:281:in `pick_template_extension'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:195:in `render_file'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.1...
2008 May 13
0
Problem geting web interface to work
...plugins/builder_status.rb:20:in `fatal?'' #{RAILS_ROOT}/app/models/project.rb:194:in `last_complete_build_status'' #{RAILS_ROOT}/app/views/projects/_project.rhtml:1:in `_run_rhtml_47app47views47projects47_project46rhtml'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_vie...
2009 Jan 20
5
Problem running rake test
...or) You might have expected an instance of Array. The error occurred while evaluating nil.empty? from C:/Ruby/lib/ruby/1.8/erb.rb:525:in `compile'' from C:/Ruby/lib/ruby/1.8/erb.rb:692:in `initialize'' from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_view/template_handlers/erb.rb:51:in `new'' from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_view/template_handlers/erb.rb:51:in `compile'' from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/ action_view/template_handler.rb:11:in `call''...
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello, I''ve created a new Rails3 app and I''m using jQuery instead of prototype. Gemfile: gem ''jquery-rails'' in my config/application.rb I want do the following: config/application.rb if Rails.env.production? config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application) else config.action_view.javascript_expansions[:defaults] = %w(jquery rails application) end So in production I want to include jquery.min whereas in development I want the unminified (jquery). But this seems not to work and...
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
...'instructor'' %> Teacher</ label> vendor/rails/actionpack/lib/action_controller/ request_forgery_protection.rb:114:in `form_authenticity_token'' (eval):2:in `send'' (eval):2:in `form_authenticity_token'' vendor/rails/actionpack/lib/action_view/helpers/ form_tag_helper.rb:453:in `token_tag'' vendor/rails/actionpack/lib/action_view/helpers/ form_tag_helper.rb:430:in `extra_tags_for_form'' vendor/rails/actionpack/lib/action_view/helpers/ form_tag_helper.rb:438:in `form_tag_html'' vendor/rails/action...
2007 Oct 08
1
Rails reverses apostrophes
Hi, I am quite new to Ruby on Rails so this might have a very simple answer... My problem gives the following error message when I try to call the count function for an item. Mysql::Error: Unknown column ''TournamentTemplate'' in ''where clause'': SELECT count(*) AS count_all FROM action_logs WHERE (action_logs.loggable_id = 1 AND action_logs.loggable_type =
2007 May 30
2
ActionView::TemplateError
...b:998:in `new'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/ associations.rb:998:in `images'' #{RAILS_ROOT}/app/views/admin/design/_record.rhtml:6:in `_run_rhtml_47app47views47admin47design47_record46rhtml'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 328:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 328:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 303:in `render_template_old'' #{RAILS_ROOT}/vendor/plugins/haml/lib/haml/te...
2009 Jun 10
1
[PATCH] remove rails2.3 deprecated config.action_view.cache_template_extensions
...onfig/environments/development.rb +++ b/src/config/environments/development.rb @@ -33,7 +33,6 @@ config.whiny_nils = true # Show full error reports and disable caching config.action_controller.consider_all_requests_local = true config.action_controller.perform_caching = false -config.action_view.cache_template_extensions = false config.action_view.debug_rjs = true # Don't care if the mailer can't send -- 1.6.0.6
2007 Dec 20
3
How-to spec this helper method?...
Hey gang, I have this dead-simple method defined in a helper: def add_category_link(name) link_to_function name do |page| page.insert_html :bottom, :categories, :partial => ''category'', :object => Category.new end end Where, and mostly how, would I spec this? I haven''t been able to find how to stub the rjs in a helper spec, so
2005 Jun 13
3
validations not working with collection population droplists
...p;<%= link_to ''Add'', :controller => ''publishers'', :action => ''new'' %> 18: </td> 19: </tr> Trace of template inclusion: /reviews/new_curriculum.rhtml Show template trace /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_view/helpers/form_options_helper.rb:139:in `options_from_collection_for_select'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_view/helpers/form_options_helper.rb:304:in `to_collection_select_tag'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.8.1/lib/action_view/helpers/form_option...
2008 Jun 30
1
Help with form_for
...t;Password:</p> RAILS_ROOT: /home/eyp/workspace/lists Application Trace | Framework Trace | Full Trace (eval):2:in `protect_against_forgery?'' app/views/sessions/new.rhtml:4:in `_run_erb_47app47views47sessions47new46rhtml'' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/ form_tag_helper.rb:431:in `extra_tags_for_form'' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/ form_tag_helper.rb:439:in `form_tag_html'' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/helpers/ form_tag_helper.rb:41:in `form_tag'...
2010 Mar 20
0
Problem with videos on heroku
...file_column_helper.rb: 75:in `send'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column_helper.rb: 75:in `url_for_file_column'' #{RAILS_ROOT}/app/views/admin/videos/_form.rhtml:21:in `_run_rhtml_admin_videos__form'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 314:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 314:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb: 290:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_...
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi, I really like selenium, and I just tried the plugin created Jonas Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find anyone complaining about it? Did anyone get it to run on rails 1.1.2? Greets, Abdur-Rahman
2009 Jul 30
2
Can I turn off config.action_view.cache_template_loading in Production
I''ve got an app which users can edit the ERB templates for emails, the changes aren''t taking effect till the app restarts though because config.action_view.cache_template_loading = true I''ve seen various comments that suggest it has to be true when in Production for thread safety - is Rails actually running in a threaded manner yet? Surely this is a none issue at the moment? Is anyone else running production apps with this set to false? Th...
2007 Jul 06
3
stubbing helper methods for View specs
...o'' (eval):164:in `_render_haml_1'' vendor/plugins/haml/lib/haml/engine.rb:435:in `compile'' vendor/plugins/haml/lib/haml/engine.rb:186:in `to_html'' vendor/plugins/haml/lib/haml/template.rb:69:in `render'' vendor/rails/actionpack/lib/action_view/base.rb:502:in `delegate_render'' vendor/rails/actionpack/lib/action_view/base.rb:324:in `render_template_old'' vendor/plugins/haml/lib/haml/template.rb:96:in `render_template'' vendor/rails/actionpack/lib/action_view/base.rb:286:in `globalize_old_render...