Displaying 20 results from an estimated 500 matches similar to: "Calendars in Rails"
2011 Aug 02
4
Best way to test tasks
I have a task that runs frequently in order to get/import data from another
system.
Because of this I wanted to know which is the best way to test tasks in
order to create the tests needed.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110802/315d630f/attachment.html>
2012 Oct 30
1
pass javascript date variable to rails controller as params
I have an application where jquery fullcalendar is implemented. On day
click I need to pass the selected date as params to rails controller.
When I alert the date inside dayclick function, I am getting the date in
the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I
pass as params in jquery ajax to rails controller, it is passing blank.
How do I get it in rails
2011 Jul 28
2
RSpec, shoulda-matchers and Rails model attributes validations
I was trying out RSpec framework in a project and got stopped doing the unit
test of a model. In particular, doing the test for the associations and the
ActiveRecord validations.
I started writing the validations but my tests didn''t look DRY at all.
Before refactoring the tests checked out and look for other people
solutions.
I found out shoulda-matchers and Shoulda (which if I
2011 Jul 26
1
ActiveRecord has_many associations
Given the models Country, State, City and Person as follows.
class Country < ActiveRecord::Base
has_many :states
end
class State < ActiveRecord::Base
belongs_to :country
has_many :cities
end
class City < ActiveRecord::Base
belongs_to :state
has_many :people
end
class Person < ActiveRecord::Base
belongs_to :city
end
Is there any way that doesn''t allow to delete
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
2009 Feb 24
0
The New Delhi Ruby February Meetup - Coming Saturday - 28 Feb
We''re a very open, fun and friendly ruby meetup group in New Delhi,
India and we have something for everyone, from the curious who just
appreciates the ruby, to the intermediate learner who wants to learn
best practices, to the pros who would like to reminisce with other
developers.
We regularly organize monthly meetups which anybody can attend.
The February edition of Ruby Meetup will
2011 Aug 03
2
How to test modules and custom validators
I''m trying to have most of the important stuff tested and in order to do
that I run in front of some stuff I''m not quite sure which is the best way
to test them.
At this time I am having question around how to test modules and the custom
validators (the typical email format validator for example).
To test a module the best I saw up to now was finded here:
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 Nov 05
3
non event_calendar
What am I missing here, trying to get the event_calendar plugin working
with my existing app. Have installed the plugin, which I guess is a good
start, then this...
class Booking < ActiveRecord::Base
has_event_calendar :start_at_field => ''arrival_date'', :end_at_field =>
''departure_date''
Route...
map.availability_calendar
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
2011 Apr 25
1
CalendarDateSelect Error:
Hello All,
I guess you guys can light me up better than google. I am getting a
pop-up when i introduced full_calendar functionality in my app. The
pop-up message is:-
CalendarDateSelect Error: Prototype could not be found. Please make sure
that your application''s layout includes prototype.js (.g. <%=
javascript_include_tag :defaults %>) *before* it includes
calendar_date_select.js
2010 Mar 01
0
stubbing CAPTCHA to pass Cucumber scenario
Hi,
I''m trying to start using cucumber. I''ve done login, logout scenarious,
but stumbled in CAPTCHA validation on user registration page. As I get I
should stub CAPTCHA validation method. I guess I should implement
stubbing Given step or include stubbing code in Before filter?
I use validates_captcha gem, thus instance method to stub is
module ValidatesCaptcha
module
2011 Jul 05
9
How to implement a schedule of recurring events?
Hello,
I am fairly new to Ruby and Ruby on Rails. I am creating an
application that "has many :groups", each with their own schedule of
events. This is a little different than a calendar of events, since
these events recur every week and do not have a specific date. So for
example, I need to display a schedule for one group that looks like
this:
Group A''s Activities
- Monday
2009 Aug 15
1
OT - Using new Asterisk calendars features
hello,
In last november was reviewed and committed code that enabled Asterisk to
read from or write to iCal, CalDAV and Exchange calendars.
1. Has anyone successfully used this feature with an Exchange server ? Is it
easy to create an Exchange login allowing Asterisk to query and change data
from several Exchange user accounts (without knowing any user password) (I
don't have any Exchange
2005 Oct 27
3
calendars
Hi
what do you guys use for shared calendars these days? I've been using
corporate time but that is now part of Oracle suite so looking for an
alternative that is hopefully open source/free to complete my 'get away from
exchange' package.
thanks
2008 Apr 04
1
[LLVMdev] Mark your calendars: LLVM 2008 Developer Meeting
In response to our poll and Chris' efforts in finding available space,
we will be meeting at the Apple Campus in Cupertino, CA on Friday,
August 1, 2008. We are tentatively going to start at 8:00 AM and end
at 5:00 PM.
The agenda for the day is still being planned. If you're interested in
speaking, please email me off-list with details about the subject you
would like to
2017 Nov 08
0
Help Converting Calendars
How about
> p_dates <- paste0(p.dates[[3]], "-", p.dates[[2]], "-", p.dates[[1]])
> myData$p_dates <- p_dates
> print(myData, right=FALSE)
dates p_dates
1 2017-10-01 1396-7-9
2 2017-10-02 1396-7-10
3 2017-10-03 1396-7-11
> str(myData)
'data.frame': 3 obs. of 2 variables:
$ dates : Date, format: "2017-10-01"
2017 Nov 08
2
Help Converting Calendars
R-Help
Trying to convert a Gregorian calendar dataset to a Persian calendar
dataset. But I end up with a list and not sure what to do. For example ...
dates <- c("2017-10-1","2017-10-2","2017-10-3")
myData <- data.frame(dates)
myData$dates <- as.Date(myData$dates, format = "%Y-%m-%d")
> myData
dates
1 2017-10-01
2 2017-10-02
3
2009 Jan 07
2
Function to recognise convert dates between gregorian and other calendars (e.g. Persian)?
Dear list,
I will shortly have some data that contains numeric dates in the Persian /
Jalali calendar format, which I would like to convert to gregorian. At the
moment there doesn't seem to be a function for this in R, but it would be
great if someone could come up with same - I would attempt it but the
algorithm is very complex and this is also way beyond my fairly rudimentary
knowledge of
2012 Aug 16
0
Event_Calendar
I have already used Event_calendar Gem with Rails 3, but I would like to
change the color of each event type either with code or css
Can anyone help me?
https://github.com/elevation/event_calendar/
--
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