Displaying 20 results from an estimated 30000 matches similar to: "application.rhtml ignored"
2006 Feb 16
4
newbie question regarding basic AJAX form verification
Hi,
I''m confused about how form verification with AJAX works. Let''s say I have a
''new.rhtml'' view that contains a form with two fields, and the form action is
''create''. Let''s assume that I also want to do some type of data validation on
one of the two fields via AJAX before I submit the form. But since I''ve
already
2006 Mar 08
6
Difficulty with params hash and submit_to_remote
Hi,
Is there any trick to initializing the params hash via submit_to_remote()? I
have a form with two submit methods - the regular, non-AJAX method, and the
AJAX method. The regular method works like a champ. The submit_to_remote
invokes the correct controller, but the params hash is empty except for the
values for :action and :controller.
I''d show my code, but it''s on
2006 Apr 27
5
one more try - ENV and FastCGI
Hi,
I''m desperate, so I thought I''d try one more time in the hopes of getting a
different audience. Basically. it boils down to this. Using CGI, the ENV
hash is populated and is accessible from a model script. Using FastCGI, the
ENV hash is empty. Can anyone explain how I can fix this?
Thanks,
Stan Mcfarland
--
View this message in context:
2006 Aug 12
2
Layouts: application.rhtml v. mycontroller.rhtml
I was trying to be all DRY and standardize my layouts to one file and
made an application.rhtml. There was no application.rhtml at all
before.
So I renamed all my controller layouts to .txt and then tested. I got
empty pages.
I found some issues with Login/UserEngine and application.rhtml, but
nothing that looked like this behavior. Is routing messing me up? It''s
as if
2006 Jan 19
3
template/variable confusion
Hi there,
I''m having some trouble working out where/when I can define template variables.
I have a standard.rhtml layout template which is used across the application as the main xhtml wrapper.
Inside there is some code like this:
<div id="<%= @layout_style %>">
<%= @content_for_layout %>
</div>
Now content_for_layout always works fine, but
2011 Jan 20
1
Fwd: Re: Dotlock dovecot-uidlist errors / NFS / High Load
Stan,
Thanks for the reply. In our case we have actually already done most of
the work you suggested to no avail. We had rebuilt two new ntp servers
that sync against two stratum 1 sources, and all our nfs clients,
regardless of using dovecot, sync to those two machines. You bring up the
difference between bare metal and hypervisor, and we are running these
machines on vmware 4.0. All the
2010 Feb 15
4
wish now I'd not upgraded...
Upgraded from Debian Dovecot 1.0.15 to Debian Dovecot 1.2.10-1~bpo50+1.
I use Postfix local delivery to and Dovecot mbox. As per upgrade directions, I
stopped dovecot processes and deleted all dovecot.index.cache files in
/home/%user/mail/.imap. Performed upgrade to 1.2.10-1~bpo50+1. Modified new
dovecot.conf for my environment. Started dovecot.
Problem: Instantly noticed in TB 3.0.1 Win32
2006 Jan 17
9
Setting layout template in .rhtml
I''ve a single controller -
class ContentController < ApplicationController end
in the app/views/content folder I have quite a few .rhtml files
I need to be able to choose a different layout template to
use in each of these .rhtml files.
i''d like to be able to do something like (which doesn''t work..)
<% layout ''layout1'' %>
Any
2006 Feb 02
4
How switching global layout (application.rthml <or> custom.rhtml)
Dears,
My railsapp run using ''/layout/application.rhtml'' and under some
conditions ( Authenticated user, url parameter) I like to switch
globally to another layout, let''s say custom.rhtml
Like :
class AppController < ApplicationController
before_filter :context_layout
def index
end
end
# application.rb
def context_layout
if <context_condition>
2010 Feb 23
2
body search very slow since upgrade from 1.0.15 to 1.2.10
Did you mislead me Timo? You said search in 1.1+ is faster than 1.0. I'm
seeing approximately 20x *slower* search times in 1.2.10.
Via Thunderbird, a full body search of my 11,000+ message IMAP folder hosted
by 1.0.15 used to take less than 10 seconds. Since upgrading to 1.2.10 the
search is taking over 3 minutes, the imap process servicing the client
pegging one CPU at 100% for the
2006 Mar 28
6
RHTML designer
Hi
I have just started playing with ROR and I think its very good. My only
problem is that I am new to web development and know much abount html. I
was wondering if there is any tool/plugin I could use to design rhtml
pages.
Regards
Sandeep
--
Posted via http://www.ruby-forum.com/.
2005 Dec 31
7
Application Errors w/ layout & custom view pages
1) I get Rails Application Error when trying to use layout
test_controller
def list
layout "stdlayout"
end
in the views/test/layouts stdlayout.rhtml
<html>
<head><title>test</title></head>
</body>
<h1>Test</h1>
<%= content_for_layout %>
</body>
</html>
2) I get Rails Application Error when trying to use a separate
2010 May 10
2
Sieve problem. Timo, is this mbox file size limitation hard coded? If so, why?
I would not have expected this upon implementing sieve. And I really need
to get around this limitation. LDA has no problem writing to these large
mbox files. Why does sieve have a problem with them? This is very odd.
May 10 17:45:04 greer dovecot: deliver(stan): write() failed with mbox file
/home/stan/mail/1-Debian-Users: File too large
May 10 17:45:04 greer dovecot: deliver(stan): write()
2012 May 04
2
btrfs scrub BUG: unable to handle kernel NULL pointer dereference
I think I have some failing hard drives, they are disconnected for now.
stan {~} root# btrfs filesystem show
Label: none uuid: d71404d4-468e-47d5-8f06-3b65fa7776aa
Total devices 2 FS bytes used 6.27GB
devid 1 size 9.31GB used 8.16GB path /dev/sde6
*** Some devices missing
Label: none uuid: b142f575-df1c-4a57-8846-a43b979e2e09
Total devices 8 FS bytes used
2006 Jul 09
2
using content from a model in application.rhtml
Hi all,
Not sure if Im doing this the right way (most likely not as I cant make
it work!)
I have an application that needs to put some content from two different
tables(db) on every page within the application.
What I thought I could do is write a small application helper that talks
to the model and asks for the data. But I cant for the life of me work
out how to actually talk to a model from
2006 May 21
3
Where to put partials called from the application layout
Hello,
My main application layout, app/views/layout/application.rhtml looks
like this:
something
render partial_1
something else
render partial_2
something else
render partial_3
The partials are not really doing anything, i use them to keep the
layout modular (i.e . to have ~30 lines instead of 200). Now, the
question is where to put _partial_1.rhtml, _partial_2.rhtml,
_partial_3.rhtml.
If i am
2011 Nov 22
1
1.2.15 can't get zlib working
Following these instructions: http://wiki.dovecot.org/Plugins/Zlib
I enabled zlib and restarted Dovecot. I made a backup copy of a 68MB
mbox file and moved it to a non mail directory. The mbox file is an
existing TBird IMAP folder in my UNIX user mail directory. It is an
archive of a defunct mailing list. It was a regular IMAP folder prior
to attempting this. I was able to access all emails
2006 Apr 19
3
include contents of one rhtml in another
Hi
I have a rhtml documment in views/account/login.rhtml
I want to include the contents of login.rhtml in
views/welcome/index.rhtml
any suggestions on how this can be done?
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.
2007 Mar 20
4
rhtml plugin needed
Hi !
Is there any rhtml plugins for Eclipse ( or ) Radrails editors ?
Pls , suggest me !
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
2006 Jan 27
3
Formatting Data in rhtml
Is there a simple way to format your data in the .rhtml file?
I come from a PHP/Smarty background, and in the templates, I''ve used
what is called "modifiers" to format data.
{$price|currency_format} # displays in currency format
{$description|truncate:"100"} # Truncates the description after 100
characters
It seems like the template (rhtml) would be the ideal