Displaying 19 results from an estimated 19 matches similar to: "Creating sub actions"
2008 Mar 13
2
Google Calendar
Anyone aware of good calendar library in Ruby? I need to design a
calendar similar to Google calendar. The idea is to have ability to add
recurring or even infinite events as it is possible in Google calendar.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2006 Dec 11
2
Custom Validator
I want to add a custom validator in one of Model. For example Rails has
inbuilt validation methods like validates_uniqueness_of,
validates_presence_of . What I need is a similar kind of method
(example: validates_line_items), that can run my custom code while
saving, updating the record and can add custom error messages to the
record. Please help me by suggesting how i can do this.
--
Posted via
2005 Dec 26
5
show render time on pages
hello all!
is it possible to access the render time variables in the view? i would
like to show
Completed in 0.09574 (10 reqs/sec) | DB: 0.08729 (91%) | 200 OK
[http://localhost/person]
on each page like in the logs.
how can i do this?
2005 Dec 25
4
How to display a welcome page
Wow, I can''t believe that after a few weeks of playing around with Rails I
got stuck on something that seems like it should be really simple.
How do I display a default welcome page for visitors who are not logged in
and send logged in users to the appropriate controller. I am using the
login_engine and the user_engine.
The two methods I have seen looking at sample code are to stick a
2006 Jun 28
1
Iconv library error
I am trying to run a web application. I downloaded the web app package
and then tried to run the Webrick server. I got this error:
----------------------
C:\Documents and Settings\Dipesh\My
Documents\RubyOnRailsProjects\feedmarker>rub
y script/server
=> Booting WEBrick...
The Iconv library does not appear to be installed properly. FeedTools
cannot fu
nction properly without it.
2006 Apr 12
1
Link helpers and AJAX callbacks
Hi,
So after lots of efforts to understand Ruby and Rails, I am finally
scratching the surface of AJAX in Rails. So here goes another problem.
I am able to sucessfully call server side method using AJAX. Now I need
to fill this function with something useful to return back. Now I see
that only inbuilt function I can play with is "render_text". This means
it simply doesn''t
2005 Dec 26
2
special characters in rhtml
Is there any pattern how to use non-english fonts right in rhtml file? Using
ą is frustrating.
Thanks,
Szczepan
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2001 Nov 01
1
Samba and hidden files problem
Hi all
I have a not so little problem.
I have recently installed a samba file server at a clients premises. All
works fine until the decided to run a rather old dos based program.
For some unknown reason this software will not run unless cirtain files are
hidden. My problem now is that hidden files on linux filesystems and dos
filesystems are rather different. In linux all you do is put a .
2005 Dec 25
2
Caching of models?
Hello, people!
I have a problem. I googled, asked for help on IRC. I can''t find an
answer. Suppose I have model Cart (from "Agile Web Development with
Rails"). I added call to logger.warn("Some warning") to one of it''s
methods. It fails with NameError, because ''logger'' is unknown to
model.
undefined local variable or method
2005 Dec 26
3
data insertion in multiple tables
I have two tables like:
Table A:
id (autoincrement)
name
Table B
id
id_of_A
desc
I want to add a record to table A and based on the id of A, I want to add a
record to table B.
I don''t think there is any SQL command that support this (at least in MySQL
4.1, so I use LAST_INSERT_ID()).
(Is there any other way? or MySQL 5 support any special SQL command?)
But I need
2005 Dec 24
2
Eleven??
I was poking around in the Gentoo Linux repository yesterday, trying to
satisfy my curiosity about how many programming languages there are in
"common use" today. I found one called "Eleven" which is quite strangely
similar in intent to Rails. The home page is
http://eleven.sourceforge.net/.
Eleven is much simpler than Rails, and there are some interesting ideas
in it. To
2006 Oct 14
2
sending parameters with link_to_remote Ajax Request
In a panel, I have an hidden input field which is modified by a
javascript function (from calendar)
how can I sent the value of this input field in my link_to_remote call ?
presently I just send back one parameter (an id) but I need both...
<input type="hidden" name="booking[start_at]" id="f_date_s"
value="booking[start_at]" />
...
<%=
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys,
I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9.
Sadly, rails 3 no longer has javascript generators and I''m now forced
to do more javascript.
For my project, I have selected jQuery as the javascript framework for
my rails 3.0.9 app.
What I have done to have my app''s deletion link (for each item)
trigger an alert box when the deletion
2011 Aug 22
0
CRAN packages maintained by you
It is A Good Thing to regularize Authors and Maintainers of packages,
particularly for citation()
and toBibTex().
Could I add a suggested TODO item for the maintainer of package.skeleton
and friends to
help reinforce this for new packages:
- Please add appropriate templates for Author at R in the skeleton
DESCRIPTION file generated,
indicating the proper format as well as the use of role= to
2017 Feb 25
2
Rstudio
Estimado Manuel Máquez
Ese es un problema de Linux, cuando se les ocurre tocar siempre hay algo que te deja a pata, y con R ese problema yo lo tuve en varias oportunidades.
Ahora ya no uso Linux, pero siguiendo la recomendación de Carlos Ortega, hay una parte en esos artículos que no citan pero que pueden facilitarle las cosas, me refiero a ?ubuntu synaptic?, desconozco si todavía existe, pero
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi.
I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this.
The situation is like this.
_____________________________
| abc | => Box1Line1
| cde | => Box1Line2
| efg | => Box1Line3
| h | => Box1Line4
2016 Mar 02
2
Consulta r studio no funciona
Amalia,
Instalaste R? Necesitas R para que RStudio funcione.
Saludos,
Jorge.-
2016-03-01 21:45 GMT-05:00 Amalia Carolina Guaymas Canavire <
acarolinagc en gmail.com>:
> Hola les escribo porque R studio en windows 8 no me funciona y no sé como
> solucionarlo. El error que arroja es que R no puede iniciar, la sección de
> environment no se carga, aparece como procesando y cuando
2017 Feb 24
2
Rstudio
Estimados colegas:
Tuve que instalar en mi PC Ubuntu 16.10 y quiero instalar nuevamente
RStudio, sin embargo no sucede así, porque en la terminal se indica que hay
dependencias incumplidas. He encontrado que se ha cambiado una
librería libgstreamer y no se como hacer para que se pueda instalar
adecuadamente el paquete RStudio.
¿Alguno de ustedes me puede decir el procedimiento completo para lograr
2013 May 20
4
Código del algoritmo de qnorm
Cordial saludo para cada uno.
De manera amable les pido ayuda para acceder al código R usado para el
algoritmo de la función qnorm.
Gracias por su ayuda.
César Escalante C.
[[alternative HTML version deleted]]