Displaying 20 results from an estimated 52 matches for "compile_and_render_templ".
2006 Jul 12
0
Strange error
...lib/action_controller/templates/rescues//_request_and_response.rhtml:40:in
`_run_rhtml__usr_local_lib_ruby_gems_1468_gems_actionpack_14612461_lib_action_controller_templates_rescues__request_and_response''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:314:in
`compile_and_render_template''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in
`render_template''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
`render_file''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_contr...
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?
2007 Apr 17
1
undefined method `each'' for nil:NilClass with Ferret search
...always get this error; I had to rebuild the
indexes then it works for a while then again it is gone.
here is the message
ActionView::TemplateError (undefined method `each'' for nil:NilClass) on
line #4
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in
`render_template''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in
`render_file''
@
thanks
--
Posted via http://www.ruby-forum.com/.
2007 Dec 07
4
strange error on mock proxy
...iew/helpers/
form_options_helper.rb:409:in `select''
app/views//units/_form.html.erb:13:in
`_run_47app47views47units47_form46html46erb''
vendor/rails/actionpack/lib/action_view/base.rb:390:in `send''
vendor/rails/actionpack/lib/action_view/base.rb:390:in
`compile_and_render_template''
vendor/rails/actionpack/lib/action_view/base.rb:366:in
`render_template''
vendor/rails/actionpack/lib/action_view/base.rb:316:in
`globalize_old_render_file''
vendor/plugins/globalize/lib/globalize/rails/action_view.rb:18:in
`render_file''...
2006 Jun 27
4
Action Mailer - weird rendering issues
...rpt_thought(@thought)) %>
3:
4: To view/edit the entire thought or comment on it, visit
#{RAILS_ROOT}/app/views/comment_notifier/share_notification.rhtml:1:in `_run_rhtml_share_notification''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:314:in `compile_and_render_template''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in `render_template''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:272:in `render'...
2006 Sep 07
7
invalid characters with win32
...6,
ferret-0.10.2-mswin32
Used gem install ferret - didn''t report any errors.
When I do a
require ''ferret''
in any of my controllers actionview blows up with a
SyntaxError in Default#index
/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:307:in
`compile_and_render_template''
complaining about invalid characters.
Might be related/similar to this bug
http://www.ruby-forum.com/topic/62365
I ran the \ferret-0.10.2-mswin32\test\test_all.rb and everything looked
good.
Any ideas on this?
-ben
--
Posted via http://www.ruby-forum.com/.
2007 May 30
2
ActionView::TemplateError
...39;'
#{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/template.rb:121:in
`render_template''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:
263:in `render_file...
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 =
2010 Mar 20
0
Problem with videos on heroku
...: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_view/base.rb:
249:in `render_file''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:
264:in `render'...
2006 May 26
8
calling render_to_string outside of controller
How can I call render_to_string outside of a controller. I''m stuck on
this. I''ve nearly got my plugin finished but I can''t seem to get this
to work. The method is in ActionController::Base but it is protected.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 04
8
Unable to follow basic RoR tutorial (Win32)
...e
#{RAILS_ROOT}/app/views/blog/list.rhtml:8:in `to_s''
#{RAILS_ROOT}/app/views/blog/list.rhtml:8:in `_run_rhtml_blog_list''
#{RAILS_ROOT}/app/views/blog/list.rhtml:3:in `_run_rhtml_blog_list''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:314:in
`compile_and_render_template''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:290:in
`render_template''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:249:in
`render_file''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base....
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
...imagemod# | Framework
Trace<http://localhost:3000/imagemod# | Full
Trace <http://localhost:3000/imagemod#
#{RAILS_ROOT}/app/views/imagemod/index.rhtml:2:in `compile_template''
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:305:in
`compile_and_render_template''
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in
`render_template''
C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
`render_file''
C:/InstantRails-1.0/ruby/lib/ruby/...
2007 Nov 15
6
Link_to popup divorced from controller?
Here''s my case:
Using a link_to popup window to show a related help file of an element
on a page.
The problem:
Window pops up perfectly, but refuses to carryover @instance variables
in the controller that I referenced in the link_to command.
The tests:
- I have the right controller/class, because it renders a specific
template, which is what it does.
- I have the right template/view,
2006 Apr 17
5
Strange question on file_column
.../config/..
Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/views/demands/list.rhtml:25:in `compile_template''
#{RAILS_ROOT}/app/controllers/demands_controller.rb:5:in `index''
-e:3
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:300:in
`compile_and_render_template''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:285:in
`render_template''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_view/base.rb:244:in
`render_file''
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/bas...
2007 Jan 11
6
nil object while the required parameter are in the request
...n_rhtml_admin_newlet''
#{RAILS_ROOT}/app/controllers/admin_controller.rb:37:in `newlet''
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`send''
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in
`render_template''
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in
`render_file''
C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/...
2008 May 13
0
Problem geting web interface to work
..._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_view/base.rb:260:in `render_file''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render''...
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
..._ruby/1.8/rubygems.rb:166:in `activate''
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:26:in `require''
#{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require''
#{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_view/base.rb:249:in
`render_file''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:699:in
`render_file'...
2006 Jun 23
0
Date class giving errors
...l_student_show''
/usr/lib/ruby/1.8/date.rb:591:in `new0''
/usr/lib/ruby/1.8/Date.rb:703:in `today''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:
314:in `send''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:
314:in `compile_and_render_template''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:
290:in `render_template''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:
249:in `render_file''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/
base.rb:...
2007 Jul 12
1
form_tag doesn't accept a string anymore in edge rails?
..._view/helpers/form_tag_helper.rb:
37:in `form_tag''
app/views/verifications/new.rhtml:8:in
`_run_rhtml_47app47views47verifications47new46rhtml''
vendor/rails/actionpack/lib/action_view/base.rb:350:in `send''
vendor/rails/actionpack/lib/action_view/base.rb:350:in
`compile_and_render_template''
vendor/rails/actionpack/lib/action_view/base.rb:326:in
`render_template''
vendor/rails/actionpack/lib/action_view/base.rb:286:in
`render_file''
vendor/rails/actionpack/lib/action_controller/base.rb:879:in
`render_file''
vendor/rails/actionpack/li...
2006 Sep 12
1
Ferret on Windows?
...lt;#> | Framework Trace <#> | Full Trace <#>
#{RAILS_ROOT}/app/views/narratives/list.rhtml:4:in `compile_template''
#{RAILS_ROOT}/app/controllers/narratives_controller.rb:18:in `index''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:307:in
`compile_and_render_template''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in
`render_template''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in
`render_file''
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base....