Displaying 20 results from an estimated 22 matches for "appcontroller".
Did you mean:
pppcontroller
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>
layout(''custom'')
end
end
But layout() call is not available into application.rb, and writing
class AppController &l...
2006 Jul 09
1
Can''t find where to put non-index methods for appController
I have a couple of methods that I would like to not be available to the
world as actions in my ApplicationController, but need to be visible to
the methods in my ApplicationController.
This is a dumb question yes, and I know the answer is extermely simple.
Can I stuff them in another class somewhere?
If so, what rails directory do I put it in?
Thanks,
-Jon
--
Posted via
2006 Jan 24
2
A way to use link_to_remote in appcontroller?
Hi, in my ApplicationController, I am creating a bunch of text which is
going to be displayed in my view. However, I would like to use
link_to_remote in whats going to be displayed. Any suggestions on how to
do this?
--
Posted via http://www.ruby-forum.com/.
2018 Apr 10
2
Question about hdt and UEFI
If I remember correct HDT is a .C32 executable and not .EFI, so no it will
not work.
On Tue, Apr 10, 2018 at 10:02 AM, Gene Cumm via Syslinux <syslinux at zytor.com
> wrote:
> On Thu, Mar 8, 2018 at 4:43 AM, Nicolas L?cureuil via Syslinux
> <syslinux at zytor.com> wrote:
>
> > i am trying to use hdt with an UEFI install. It does not start and
> freeze.
> >
2020 Aug 27
0
[Bug 1455] New: Queue verdict cannot be used in vmap
https://bugzilla.netfilter.org/show_bug.cgi?id=1455
Bug ID: 1455
Summary: Queue verdict cannot be used in vmap
Product: nftables
Version: unspecified
Hardware: arm
OS: Ubuntu
Status: NEW
Severity: normal
Priority: P5
Component: nft
Assignee: pablo at netfilter.org
2018 Jun 18
4
Memdisk and big floppy images
Dear Syslinux folks,
For a firmware update I am following the Gentoo Wiki [1] to create a floppy
image of 20 MB, so that the vendor update utility fits.
Unfortunately, FreeDOS does not load, and it seems to hang loading the
FreeDOS kernel. The original FreeDOS image boots. Do you know if that issue
is memdisk related? It?s started from GRUB with the commands below.
linux16 /boot/memdisk
2011 Jan 03
8
Heroku, needs constant AppController updates?
...it .... / git push heroku master / heroku
workers 1 / heroku open
then the process runs, appears successful in the logs, but returns no
events
The error can be solved I''ve discovered by making small changes to
Application controller, such as adding the line
logger.debug"Changing AppController again"
then doing $git add . / git commit .... / git push heroku master /
heroku workers 1 / heroku open
this time the process runs, appears in logs to take longer, and returns
the scraped info as required.
Any ideas why this should be??
I have tried solving this myself by putting in...
2018 Jun 18
2
Memdisk and big floppy images
In other words: I'm suggesting to use WinImage as it also allows easy
injection of new files *and* updating of already existing files.
May I ask which vendor is distributing a DOS FW update that is 20MB? I'd
like to see the files. Sometimes you just need the .bin/.rom and the actual
FW update EXE and it would fit a 5MB FDD image.
On Mon, Jun 18, 2018 at 2:03 PM, R S <rene.shuster at
2017 Sep 21
1
CentOS 7: changes to php.ini
Valeri Galtsev wrote:
>
> On Thu, September 21, 2017 4:04 am, Nicolas Kovacs wrote:
>> Hi,
>>
>> I'm hosting a few web apps like OwnCloud, Wordpress and Dolibarr on
>> CentOS 7 that require a handful of changes to php.ini. I have to define
>> some custom values for post_max_size, upload_max_filesize, etc.
>>
>> I don't know if I'm
2018 Apr 10
1
Question about hdt and UEFI
You mind to elaborate?
I'd like to re-use HDT as well, but I was forced to abandon it years ago
due to lack of UEFI support and lack of development. Heck even the website
hdt-project is now owned by a domain-grabber (The Syslinux wiki is still
linking to it when I check 3 weeks ago... might want to remove that link).
On Tue, Apr 10, 2018 at 10:10 AM, Gene Cumm <gene.cumm at gmail.com>
2018 Mar 08
2
Question about hdt and UEFI
Hello,
i am trying to use hdt with an UEFI install. It does not start and freeze.
Does someone know if it is supposed to work ?
Btw i have enough machines here to do real QA :)
2018 Apr 10
0
Question about hdt and UEFI
On Tue, Apr 10, 2018 at 10:08 AM, R S <rene.shuster at bcsemail.org> wrote:
> If I remember correct HDT is a .C32 executable and not .EFI, so no it will
> not work.
Syslinux on EFI won't load arbitrary .efi files but there are 3
different flavors of COM32 files, one per firmware.
> On Tue, Apr 10, 2018 at 10:02 AM, Gene Cumm via Syslinux
> <syslinux at zytor.com>
2018 Jun 18
0
Memdisk and big floppy images
Haven't yet had a need for 10MB FDD images. The biggest I had to create was
5MB (5760kb). At that time I had to use WinImage to create the FDD image
and it took me a while to figure out the correct settings.
My notes state:
"I'm getting 'missing FAT' errors in WinImage, and 7-zip complains about
'unexpected end'. The fix is to increasing the FDD Heads from 2 to 4 and
2019 Feb 06
0
syslinux-6.04-pre2
Thanks.
Any chance to update the changelog as well. The NEWS file in the archive
over at https://www.zytor.com/pub/syslinux/Testing/6.04/ only lists changes
for 6.03
On Tue, Feb 5, 2019 at 5:08 PM H. Peter Anvin via Syslinux <
syslinux at zytor.com> wrote:
> Hi all,
>
> It has been the case for quite a while that the master tree is
> unambiguously better than 6.03. I have thus
2006 Jul 04
0
Best way of storing and recalling data for display?
...>#{h msg.subject}</strong></span>
<span class=\"messageFieldLabel\">Date:</span><span class=
\"messageField\">#{h msg.sent_at}</span>
<span>#{(h msg.body).gsub(/\n/, "<br/>")}</span>''")
%>
AppController.addMessage(<%=msg.id%>,"<%=html_insert%>"); //store the
message for later retrieval
<% end %>
</script>
...which works, but it just feels so...unpleasant. Embedding this
big javascript stringy mess in the page source, all those escape
characters... there...
2019 Feb 08
2
Syslinux 6.04-pre3
As suggested, I have made a 6.04-pre3 release. In addition to updating gnu-efi
to the latest version available (3.0.9 + a few patches) I wanted to make the
tree compile with -Werror on my box, which resulted in pulling a thread which
in turn caused a whole bunch of things to unravel :)
The end result was that I ended up refactoring much of the tree so that it now
avoids building a ton of
2019 Feb 05
6
syslinux-6.04-pre2
Hi all,
It has been the case for quite a while that the master tree is
unambiguously better than 6.03. I have thus tagged and pushed out a
syslinux-6.04-pre2 release, however, due to the issues with continuing
to keep the main archive on kernel.org, I have moved the release archive to:
https://www.zytor.com/pub/syslinux/
Other than the URL, there is no difference from the kernel.org archive.
2009 Aug 19
27
First App- Error 500
...Aug 18 16:49:55 -0400 2009/!\ FAILSAFE /!\
Tue Aug 18 16:50:34 -0400 2009
Status: 500 Internal Server Error
unknown error
PS . It does show the default web page ok at http://localhost:3000
just not the app
Here is my controller in c:\ruby\hello\app\controllers
\app_controller.rb
.....
class AppController < ApplicationController
def greeting
end
end
Here is my view in c:\ruby\hello\app\views\app\greeting.rhtml
<html>
<head>
Ruby on Rails
</head>
<body>
Yes its working!
</body>
</html>
Here is the URL that I''m t...
2006 Jun 21
5
default page and session
Hi Everybody!
As a newcomer to this list and to Rails per se I would like to to
post my silly newbie questions ? be patient:
1. I''m not able to get rid of the welcome-aboard-screen. It says:
> 3. Set up a default route and remove or rename this file
>
> Routes are setup in config/routes.rb.
I''ve done the routing part ? at least I think I have! Now, as for the
2018 Jun 18
3
Memdisk and big floppy images
The narod.ru images are super outdated (FreeDOS kernel 2028) unfortunately.
If you are interested I could provide a 5MB FDD image template based on
FreeDOS 2041 kernel (the latest available at that time in 2014) where you
would just inject your ROM and EXE (and possibly adjust autoexec.bat to
autostart/apply the FW update). It's a minimal FreeDOS FDD image that
defaults to a clean boot with