Displaying 20 results from an estimated 100 matches similar to: "pass javascript date variable to rails controller as params"
2012 Oct 26
7
How to use Ajax with rails ?
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Thanks
Regards
Fahim Babar PAtel
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2011 May 31
1
Calendars in Rails
Hi all,
I''m currently in the need to implement a calendar in rails.
It should be able to present a year, month and day view.
The events in these 3 views should be able to be opened, on click, to view
the information and/or edit it (according to restrictions).
The events will belong to users. One requirement is that users could filter
which other users events they want to see (different
2012 Dec 08
0
Full Calendar Resource View With Rails
I am looking into using the full calendar plug in together with my rails
application.
Eventually, I want it to work for resource allocation such as on:
http://www.ikelin.com/wp-content/uploads/2012/03/Screen-Shot-2012-03-23-at-11.35.13-PM.png
such as on:
1. tux.fi/~jarnok/fullcalendar-resourceviews/
2. https://github.com/AbleTech/fullcalendar
I am new to rails and JQuery and now I am stuck at
2012 Aug 16
0
FullCalendar
I would like to use FullCalendar Gem Rails 3, but i can''t find any
tutorials discuss it.
Does anyone know how to use it step by step to be able to understand?
https://github.com/bokmann/rails3_fullcalendar/
--
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
2010 Dec 22
2
Scheduling Plugin
Hi,
We are looking for a calendar scheduling solution that supports
recurring events.
Some specific requirements are that we need to be able to setup
recurring events, then modify one of those events on a certain day by
deleting it for example.
Basically, we want the back end for a Google Calender type
functionality.
Ive dug around in GitHub and there are tons of recurring plugins but not
many
2012 Dec 08
2
Why my lapply doesn't work with FUN=as.Date
Hi, guys
I don't understand why I can apply as.Date to a single item in the list:
> as.Date(alldays[4])
[1] "29-03-20"
but when I try to lapply as.Date to all the items, i got a sequence of neg
numbers:
> sapply(alldays[1:4], FUN=as.Date)
03-04-2012 02-04-2012 30-03-2012 29-03-2012
-718323 -718688 -708492 -708857
does anyone know what's wrong here?
i am
2008 Nov 19
2
Exclude holidays in a subset of dates?
Hi All,
I am iterating through dated materials, with variable start and end dates,
and would like to skip procedures everytime I encounter a weekend or
holiday. To do this, I thought the easiest way would be to create a
TRUE/FALSE vector corresponding to each day where it is TRUE if a workday,
and FALSE if a weekend or holiday.
So far I have been able to do this for weekdays:
startDate <-
2005 Nov 08
2
A Quick and (Very) Dirty Intro to Stats in R
Greetings to all,
First off, I want to thank you all for answering any nagging questions
I've had over the past few days. I've been in the process of putting
together A Quick and (Very) Dirty Intro to Doing Your Statistics in R
(which I have posted to http://didemnid.ucdavis.edu/rtutorial.html ) in
order to teach an R workshop for the graduate students in my
department. This is a
2007 Jul 29
6
Isolating rails model specs from their implementation
I''m currently taking a Rails project management app I built when
learning Rails and adding specs to it. During the course of building
the app the requirement that project should be archiveable was added.
So a project is in one of two states active or archived.
This led to the creation of the following methods:
Project.active_projects
Project.archived_projects
@project.active?
2007 Jan 22
1
Observed models cause failures with DRBSpec ?
Hi all !
I don''t believe I am the only one using model observers, right ?
Well, here''s a nice one:
$ drbspec spec
.
Finished in 0.125322 seconds
1 specification, 0 failures
$ drbspec spec
F
1)
''A user with an inactive and an active project should be able to
return active projects only'' FAILED
[] should == [#<Spec::Mocks::Mock:0xb75590bc
2003 May 14
2
number of patients in a hospital on a given date
Dear R-users!
I am using R 1.7.0, under Windows XP.
Having some hospital discharge data (admission date and discharge date for
each patient), I want to get the number of patients in the hospital on a
given date.
My data look like (simple example):
> x <- data.frame(patid=c("pat1", "pat2"), adm.date = c("15.03.2002",
"16.03.2002"),
2007 Jan 21
35
Collection proxies need to be stubbed ?
Hi all !
I just started writing specs on a new project. I would just like to
validate that this is the way you would write it. I know about mocks,
stubs and expectations. I don''t think this is a problem for me.
My question really boils down to:
def index
@projects = current_user.projects.active
end
My spec needs to return the proxy, no ? Here''s my code:
context "A
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all,
Rails 1.0.0
created_on is being set to 2000/01/01 00:00:00
Any ideas on this ?
Thanks!
Schema is
create table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered
2008 Dec 05
2
Asterisk h323 module
Hello!
I have a problem with build astersik-addons-1.4.7 on Solaris 10. When I
tried to do "make" I got such error:
*
chan_ooh323.c: In function `reload_config':
chan_ooh323.c:2053: error: `IPTOS_MINCOST' undeclared (first use in this
function)
chan_ooh323.c:2053: error: (Each undeclared identifier is reported only once
chan_ooh323.c:2053: error: for each function it appears
2011 Apr 07
2
Selecting data from list object
Hello Group,
Is there a simpler way to get data out of a list object? (like in data
frame without using the apply functions)
I have the following dataset
> dput(d)
list(c("20110405", "092102"), c("20110405", "092538"), c("20110405",
"093458"), c("20110405", "101124"), c("20110405", "102041"),
2006 Jun 10
1
How to check a date against today
I''m looking for a function which produces the current date
eg. if account.expiry_date < getdate
''getdate'' doesn''t seem to work.
anyone know what does?
--
Posted via http://www.ruby-forum.com/.
2004 Sep 01
1
NEWBIE: PWLIB Build Failure
Any got experience w/ PWLIB - sorry I know it's somewhat off topic...
I do not have a bison.simple file located on Fedora RC2...
But when make'ing PWLIB I get
../common/getdate.y:106:1: warning: "YYPURE" redefined
../common/getdate.tab.c:43:1: warning: this is the location of the previous
definition
Is it safe to continue or is this a bad build?
2007 Dec 23
11
return day from date (javascript) ?
Ok, I know this isn''t a Rails problem, but if you could help me out
that''d be brill.
I''ve used JavaScript to create a new Date object containing a date of my
choice...
mydate = new Date("11/24/2007");
//going with Javascript''s mm/dd/yyyy format
now this is good, what i want to do now is put in an integer variable
the number for the day, in this case
2006 Jul 17
4
Inner SELECT-s in Rails
Is there a proper way of doing inner selects in rails.
Basically, I run in issues where I need the count of a query and end up
using find_by_sql. I was wondering if there was any elegant way of doing
such queries.
Roland
--
Posted via http://www.ruby-forum.com/.
2003 Sep 04
2
build samba rpm for redhat 9
Hello group,
I have downloaded the source file of samba 3:
samba-3.0.0rc2-1.src.rpm.And build it for redhat 9.0,I
didn't see any redhat package of samba 3 for redhat
9.0.
when i install the source,and built redhat package
using the following command: rpmbuild -ba samba3.spec.
It seem OK,but at last,it report the error:
Can everybody help me and show me how to fix the
error.
Thanks a lot.