similar to: Fromcontroller to the url_for() representation

Displaying 20 results from an estimated 600 matches similar to: "Fromcontroller to the url_for() representation"

2009 Jun 23
0
render_to_string inside method shared across several controllers
I use render_to_string to generate short reports (in HTML) under certain conditions when users access my application. The reports are stored in the database and uses database information at the time they are generated (and can thus not be generated later, e.g; when you want to consult them). The reports are generated the same way regardless of which controller has been accessed. Conditions for
2007 Apr 01
2
"-" instead of "_" in routes?
Hi all I''d like to have minus signs "-" instead of underscores "_" in my routes. Is there an easy to do that? my_controller/show_something/123 # <= not cool my-controller/show-something/123 # <= much cooler Thanks a lot Josh -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2001 Oct 22
0
Bit peeling(?) used in MPEG-2/SVCD Nero plugin?
Not vorbis-related, just I think I found a similar technique being used... The description of the MPEG-2/SVCD plugin on the nero site says that it can encode exacty to the size of the CD (to maximize quality given a size restriction). It also says (in a separate point) that it uses two-pass VBR compression. >From that I guess they do something like encoding a bigger-than needed file and then
2006 Feb 16
2
Reanding a windows file
Dear R users Some one knows how to read a windows file with the adress like "D:\CSV\Work\test.csv" without change the "\" by "/" by myself?! There is some function or parameter that read like the adress windows form. I tried to search somethig to substitute the "\" by "/", but I don't find... Thanks Alexandra Almeida Alexandra
2006 Mar 01
2
C-Code in R (running Windows)
Hello, I need to include C (or C++)-Code in R. I'm searching for a tutorial, how to do this. It is only a very small algorith (one function). Using google, I read somethig about including dll-Files and so on (on windows). Is there no possibility to include a C-File directly?!? -- View this message in context: http://www.nabble.com/C-Code-in-R-%28running-Windows%29-t1205196.html#a3182004
2006 Feb 01
1
Class of uploated file
Hi, i have small problem when you upload file by input type=file to rails then in rails it is represented by one of following StringIO, File, Tempfile Is it all? Or can it be represented by also other class? I need to know this because i have my own validation of file kind and when is mime type invalid then i want to put msg to record.errors and i also want to dont upload this file in next
2005 Jan 17
1
Using a variable for EXTEN
Hi, I tried set up a global var for an extension, like this [globals] IPPHONES=_3XX [sip] exten=>${IPPHONES},1,Answer What I would like to do is to make a dialplan without fixed extension numbers to change the entire dialplan according to the customer requests: what exten number do you want for your IP Phones ? let me change a variable and we are set! It seems that this is not supported,
2006 Jun 08
1
MeetMe - Annouce user join/leave without recording the name
Hi all, I an using MeetMe and I would like to use the -i function to annouce the join/leave of the user. However, this require that users record their names. Is there anyway to remove this? I just want MeetMe to annouce somethig like "A new user has joined the conference" and that need not to record user's name. Is there a way to do this?? Pim
2007 Mar 08
1
No application 'Prefix' for extension in1.2x, what app I have to use instead?
Hi I want to use Prefix app in extensions but get this error: WARNING[9255] pbx.c: No application 'Prefix' for extension ... I am just want to do somethig like this: exten => _9XXXXXXX,1,ANSWER() exten => _9XXXXXXX,2,Wait(1) exten => _9XXXXXXX,3,Prefix(511) exten => _5119XXXXXXX,4,DeadAGI(a2billtest.php|1) exten => _5119XXXXXXX,5,Hangup() Please someone tell me how to
2005 Oct 14
1
Question about Boxplots
Hello, I'm a new R user and I like to ask somethig about boxplots. Is it possible to manipulate the Y axis scale? for instance if the default scale was from 1 to 7, is it possible to change it to 1 to 10? Thanks! Rodrigo Medel P.
2006 Jan 11
3
Regular expressions
Matching regular expressions Dear useRs! I have the following problem. I would like to find objects in my environment that have two strings in it. For example, I might want to find objects that have in their names "MY" and "TARGET". I do not care about the ordering of these two substrings in the name, neither what is in front, behind or between them, the only thing important
2002 Apr 16
3
how to take least risk on rsync dir
Hello list, When rsync dir_A to dir_B, I hope I wont make any change to the original dir_B unless the rsync procedure end withour errors, therefore, I hope there's somethig like rsync -av dir_A dir_B_tmp && \ mv dir_B dir_B.bkup && mv dir_B_tmp dir_B This small script can ensure the minimal change time between 2 versions of archive. Is this built in the native rsync
2005 Jun 06
2
fail in adding library in new version.
Hello everybody, Could I consult you a question? I always use R old version 1.9.1 . Because I can not add my library into the new version 2.0.0 by the same method as old version. * I have read the webpage <http://www.stats.ox.ac.uk/pub/Rtools> * Download the tools.zip * Unpack tools.zip into c:\cygwin * Install Active Perl in c:\Perl * Install the mingw32 port of gcc in c:\mingwin *
2001 Dec 18
5
Winbind and trusted domains
Does Samba has a problem working with trusted domains ? I have two trusted domains and a Samba server 2.2.2 configured with winbind running on RH 7.0, after working for a week its now only showing me the remote domain groups and not the local domain groups. The remote domain is called Sxxx and the local one Txxxx, does samba consider an alphabetical order or somethig like that when working with
2006 Feb 28
1
Updating only some of the fields of a table.
It''s not clear to me how to save data to only some of the fields of a table. To update individual fields I can do something like this: @foo = Foo.new @foo.bar = "hello!" @foo.anotherbar = "hello again" @report.save However what if I only want to save the field "anotherbar" and don''t want the final insert or save query to contain the field
2006 Sep 25
0
Anaconda Exception when installing CENTOS 4.2Beta for sparc
Hi. I'm trying to install CENTOS 4.2Beta for sparc, and i got this exception: +------------+ Exception Occurred +-------------+ | | | An unhandled exception has occurred. # | | This is most likely a bug. Please copy # | | the full text of this exception and file # | | a detailed bug report against anaconda at # | |
2020 Jul 15
0
[PATCH 3/7] vhost_vdpa: implement IRQ offloading functions in vhost_vdpa
On 2020/7/15 ??5:20, Zhu, Lingshan wrote: >>>> >>>> I meant something like: >>>> >>>> unregister(); >>>> vq->call_ctx.producer.token = ctx; >>>> register(); >>> This is what we are doing now, or I must missed somethig: >>> if (ctx && ctx != token) { >>>
2006 Sep 25
0
Anaconda Exception when installing CENTOS 4.2Beta SPARC
Hi. I'm trying to install CENTOS 4.2Beta for sparc, and i got this exception: +------------+ Exception Occurred +-------------+ | | | An unhandled exception has occurred. # | | This is most likely a bug. Please copy # | | the full text of this exception and file # | | a detailed bug report against anaconda at # | |
2007 Sep 13
1
backing up with dump and DLT
Hi, I have a CentOS 4.1 (with a two hdds RAID 1 using mdadm) running some database system.... I connected a DLT device on its SCSI interface (/dev/nst0) in order to make some external backup..... I dump several filesystems (/, /boot /usr /var /home and others)....so and when I try to dump manualy for expmple /boot I get this: [root at Server ~]# dump -0vuf /dev/nst0 /boot DUMP: Date of this
2020 Jul 15
0
[PATCH 3/7] vhost_vdpa: implement IRQ offloading functions in vhost_vdpa
On 2020/7/15 ??4:56, Zhu, Lingshan wrote: > > > On 7/15/2020 4:51 PM, Jason Wang wrote: >> >> On 2020/7/13 ??5:47, Zhu, Lingshan wrote: >>> >>> >>> On 7/13/2020 4:22 PM, Jason Wang wrote: >>>> >>>> On 2020/7/12 ??10:49, Zhu Lingshan wrote: >>>>> This patch introduce a set of functions for setup/unsetup