Displaying 20 results from an estimated 4000 matches similar to: "[newbie] formatting web-link in list.rhtml"
2006 Jul 17
2
european date format
hi, overhere users go nuts if they have to enter the date in iso format,
so i have to make my applications in such a way that not only dates are
displayed in the "dd-mm-yyy" format but also can be entered in that way.
somewhere i found this code to put in the environment script:
ActiveSupport::CoreExtensions::Time::Conversions::DATE_FORMATS.update(
:default => ''%d/%m/%Y
2006 Jul 02
4
Ruby on Rails + DB2
Received this link from a regular email blast, it may interest some of
you. I guess RoR is starting to gain more traction :-)
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606dumbill/?ca=dnw-723
Cheers
Mohit.
2013 Sep 04
10
Performance test regarding xenstored
Hello,
I am running a mail benchmark test using smtp-source[1] with VM running
postfix on Xen hypervisor. My system configuration is:
uname -a ->
Linux cadlab 3.1.10-1.19-xen #1 SMP Mon Feb 25 10:32:50 UTC 2013 (f0b13a3)
x86_64 x86_64 x86_64 GNU/Linux
I am observing a very high disk write usage by xenstored (some 5 Mbps)
without even anything running on the VM. Is it normal?
During test, I
2013 Sep 04
10
[Xen-users] Performance test regarding xenstored
Hello,
I am running a mail benchmark test using smtp-source[1] with VM running
postfix on Xen hypervisor. My system configuration is:
uname -a ->
Linux cadlab 3.1.10-1.19-xen #1 SMP Mon Feb 25 10:32:50 UTC 2013 (f0b13a3)
x86_64 x86_64 x86_64 GNU/Linux
I am observing a very high disk write usage by xenstored (some 5 Mbps)
without even anything running on the VM. Is it normal?
During test, I
2015 Feb 13
2
[LLVMdev] [Compiler-rt] i386 is not supported in compiler-rt build
I am trying to build compiler-rt on a x86_64 machine using clang.
Command used:
CC=clang CXX=clang++ cmake <path to compiler-rt> -DLLVM_CONFIG_PATH=<Path
to llvm toolchain>/bin/llvm-config -DCOMPILER_RT_INSTALL_PATH=<Path to llvm
toolchain>/lib/clang/3.7.0
after this command on console it prints,
-- Compiler-RT supported architectures: x86_64
Instead if I use gcc in above
2005 Jul 01
3
Problem with DTFM and complex international setup
We have some guys working in the US who can't always dial back to our
company in Europe easily (lots of clients require authorization to make
international calls), so I set up the following:
- ipkall.com number links to a FWD number
- office Asterisk box registers with FWD
Then I programmed Asterisk to accept office extension number using DTFM
tones.
This works OK.
Then I programmed
2006 Jul 22
4
Reading floating points into a field stored as Integers
Hi, I''m trying to follow the "AWDR" example of storing certain types of
numbers (in my case, percentages not money) as integers in the
database. I understand from the Depot application how to format the
output to have 2 places (or n places for that matter) decimal.
Now, I"m wondering about the input. It''s more natural for people to
enter numbers as
2009 Jan 07
2
\iaxclient-2.0.2 compile problem
Hi,
I had downlaoded iaxclient-2.0.2 and complie project
*\iaxclient-2.0.2\contrib\win\vs2005*
**
It gives many83 fatal and file missing error of file missing
Error 1 fatal error C1083: Cannot open include file: 'portaudio.h': No such
file or
directory d:\mohit\asterisk\iaxclient-2.0.2\iaxclient-2.0.2\lib\portmixer\px_win_wmme\px_win_wmme.c
40
Error 2 fatal error C1083: Cannot open
2007 Apr 27
5
Reading e-Mails
Hi,
I am new to ActionMailer, need to read incoming mails using rails
ActionMailer, dont know how to do it.. also need to track bounced mails.
Can anybody help me pls.
Thanks
Muralimaran Kumar.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jun 25
6
Understanding Common Views
Hi Everyone,
I''m trying to formulate my thoughts on how views work in RoR and I
understand the basic bits -
1. Every controller has its own view defined using rhtml files in the
views/[controller_name] folder.
2. There is one "view" file (rhtml) for every in the controller and has
the same name as the method.
3. For portions that are common, partials can be used - file
2006 Aug 13
3
Render nothing; go nowhere
I am building an application that requires a C++ program to access the
Rails web application using POST. Now, I just added user authentication
to the mix and it has made things more interesting.
I''m using basic authentication as shown in the AWDWR and Rails Recipes
books. I can now get my C++ program to submit the user credentials to
the login/login page. All I want the login page
2006 Aug 07
4
Problem with Pagination
Hi Guys,
I am trying to paginate the results from a search. When I use actual
constants in the search conditions, it works fine:
def query
@k2_result_pages, @k2_results = paginate (:k2_results,
:conditions => [''e_date >= ? AND
e_date <= ?'', ''2006-07-12'', ''2006-08-12''],
2006 Aug 09
10
Next/ Previous record
Hi, Quick question (which means that I think there should be an easy
answer)...
When I am in the "show" view, I''d like to add 2 links, one for previous
and one for next record so that the user can go on to the next "result"
without having to go back to the ''list'' of results. However, I can''t
find my way about this problem :-S
2007 Apr 01
17
Retrospectiva - Web project management on Rails
Hi!
For those who are not following the announcements on my blog (yet), a
second release candidate of Retrospectiva v1.0, which I already expect
to be production-ready, has been released recently. To get the
application even more stable I would like to invite all of you to join
the tests.
For more information, please visit http://www.retrospectiva.org.
Dimitrij
PS: If you don''t even
2006 Jun 09
5
ActiveRBAC?
How''s the experience with using ActiveRBAC? For my "next 4 days with
rails" :P I''d like to consider adding Role-based access to the To-Do
List application in the original "four days w/ rails" tutorial.
Just wondering if ActiveRBAC would be a good place to start? Thanks!
For those who are wondering: https://activerbac.turingstudio.com/trac
Cheers
Mohit.
2006 Jul 04
4
Image don''t show up when i run my Rails with webrick server
can yah help me, i need to fix this...
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
5
Tutorial for Queries
Hi! I''m looking for a good tutorial that explains the main points of
performing queries with Rails. I do have AWDWR and have read the
section on ''find'' but I''m looking for something that goes into more
detail on how to perform queries across tables.
Abstracted from my current application, this is an example:
* person has_many sites
* site has_one room
*
2006 Jul 28
8
Building a Search Page as part of CRUD
I''ve been experimenting with Rails over the past couple of days and
have come across something that seems harder than it should be. In
previous frameworks I have used (WebObjects, php) a full search page
(which leads into a list view populated with search results) was part
of the CRUD that was either dynamically or statically created after
specifying table/object schema. In
2007 Sep 09
4
InstantRails - command "rails" does not work
Hey,
I installed InstantRails 1.7 (on Windows XP Home). I unzipped it with
7-Zip in D:\InstantRails (no spaces in pathname + short pathname) to
avoid UnZip-problems. I followed the installation instructions. The
cookbook-example works fine.
But when I want to create an own project with "rails projectname", my
computer says something like "The command "rails" is either
2006 Aug 07
8
Syntax Problem
In an *.rhtml, why do I need to add <% for product in @products %> in
order that I may call an <img class="list-image" src="<%=
product.img_url %>"/>. Is there not another way to skip the "for
product" line? I really dont want to include it. I tried @products =
product but it does not work. Can anyone help shed light on this matter?
--
Posted via