Displaying 19 results from an estimated 19 matches for "modica".
Did you mean:
medica
2006 Aug 02
9
How to fetch the previous or next record
Hello,
Is there some built-in facility for fetching the Previous or Next record
from a table? Assume the command find_by_name has been issued, and the
variable @name contains the name "John Doe". I''m looking for something
like find_next(@name) and find_previous(@name). What''s a good way to
pursue if one has to roll their own methods?
Thanks for the help,
gk
--
2006 Aug 09
5
Action Mailer ...mail done but not received.. (or sent ?)
I am using Action Mailer as stated in RoR book... the mail seems to be
correctly setup..
and I get the following log..
Sent mail:
Date: Wed, 9 Aug 2006 19:54:04 +0200
From: support@alemat.com
To: myself@mac.com
Subject: Your password is ...
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8
_____________
Your username is barbare. Your new password is tDRvfzNvDF. Please login
and change
2006 Aug 03
6
create or update -
Hi everyone,
I''m looking for a shortcut to finding and updating or creating record
depending on the results of the find.
So, is there a shorter way to do it than this?
@stuff = Stuff.find_by_foo_and_bar("yay","hooray")
if @stuff: Stuff.update(@stuff.id, {:foo => "boo", :bar => "hoo"})
else Stuff.create({:foo => "boo",
2006 Aug 18
4
DateBocks v2.0.0 Released
...Added Next or Last Week, Month, and Year (ex. Next Month or Last Year)
- (monday|tuesday|wednesday|thursday|friday|saturday|sunday) -
Defaults to next defined week day
- Added support for mm-dd-yyyy
- Added now for date
- Now able to use model, method to instantiate a datebox_field
[Michael Modica ]
- Always display with 2 characters in length for month and day
- Bug fixes
- 1st of Jan[uary]
- Errors now highlight elements properly
- Major bug with the enter key to update the date and not post the entire form
- Fixed bug for special days where it
- Fixed bug for using datebox_fi...
2006 Jul 31
3
date_select for valid days only. No Feb 30
I am looking for some advice on how to make a date select display only
valid days of the year. The standard date helper allows for you to
choose 31 days for every month of the year. Since not all months have
31 days this can lead to invalid date entries for scheduling.
I am thinking that an approach where I have a drop down for month and
then use AJAX or normal client side javascript to
2006 Aug 22
0
Re: Why isn't script/plugin install not working from rubyfor
Michael Modica wrote:
> All,
>
> I''m trying to download the ym4r plugin (or the cartographer plugin) from
> ruby-forge and it isn''t working. No error message displays - but no
> files are created either. The script/plugin command does work if I
> download a plugin from a...
2006 Aug 05
2
How to code partial search value in a find command
Hello,
In a list view, I''m trying to list a subset of a table''s records based
on a partial search value. So if the user enters " Smith " then the view
should list all records with " Smith " as the value of the relevant
field. I have this partial listing of the Find view:
Enter name to find
<%= start_form_tag :action =>
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
2006 Aug 03
5
DRYing up the view
Hello everyone!
I have generic views for CRUD operations
For example I render(''shared/list'') from controller
shared/list.rhtml
...
<% for item in @list %>
<tr class="<%= cycle ''list-line-odd'', ''list-line-even'' %>">
<%= render :partial => ''item'', :locals => { :item => item } %>
2006 Sep 06
22
ROR host: dreamhost or godaddy?
hi all,
i am looking for a host for my ROR web app. the target audience will be
70% from mainland china, and 30% from the rest of the world.
i dont want a chinese hosst because:
1. it''s very slow for the rest of the world to access to it.
2. the speed is quite ok for china to access the us sites.
both dreamhost and godaddy provide similar budget plans, and i saw them
all from this
2013 Jan 29
1
ccf (cross correlation function) problems
Hello everybody,
I am sorry if my questions are too simple or not easily understandable. I’m
not a native English speaker and this is my first analysis using this
function.
I have a problem with a cross correlation function and I would like to
understand how I have to perform it in R.
I have yearly data of an independent variable (x) from 1982 to 2010, and I
also have yearly data of a variable
2006 Jul 23
6
Best way to sort the emails in a mailing list?
I know this isn''t really rails related, but I was wondering if anyone
had a clever way to sort out which mailing list threads they''ve been
involved with and which ones they haven''t. That way when a new email
comes in and its in a thread you''ve been involved with, you could
move it to another folder.
I''ve looked at the email headers and
2006 Jul 31
20
RADRAILS installation guide
hi all
is there eany installation guide that explais how to set up RadRails
and how to create a RoR project with eclipse?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
21
DHH''s Post on Ruby Talk -- Rails 1.1.5: Mandatory security patch (and other tidbits)
We''re still hard at work on Rails 1.2, which features all the new
dandy REST stuff and more, but a serious security concern has come to
our attention that needed to be addressed sooner than the release of
1.2 would allow. So here''s Rails 1.1.5!
This is a MANDATORY upgrade for anyone not running on a very recent
edge (which isn''t affected by this). If you have a public
2006 Aug 08
10
Can I integrate Ruby on Rails with Microsoft COM (Quickbooks specifically)
Please help if anybody knows the answer!
I''m just starting to learn Ruby on Rails. I''m working my way through
the Agile Web Development with Rails book.
I have been offered a project that I''d like to do with Rails for a
not-for-profit organization. However, the person who I would be doing
it for would like the application to integrate with their Quickbooks
system
2006 Aug 05
0
Anyone using reliable-msg?
Community,
reliable-msg came up in another thread regarding a ruby deamon process.
Thread here: http://www.ruby-forum.com/topic/75552#new
I had not previously heard of this and could definitely use the
functionality. I''m curious if anyone else has used it and what their
experience with it has been.
Specifically, I am looking for the following functionality (in order of
2006 Aug 05
0
Action being called multiple times from weak connection?
Community,
I have an action in a controller that sends a quote to a customer. The
quote is sent after we determine the price for the service.
Until recently, we did this internally and everything was fine except
one time. When it happened, I thought it was a fluke and ignored it.
Recently, I added a remote employee that is performing this task. He
has an internet connection that goes up
2006 Aug 12
2
Anyone up for this? Maps...Bounty...
Community,
Bounty? I should know better than to post on Friday night - they
usually go unanswered! But I''ll give it a shot...
I need google maps integrated with rails in such a way that I can:
1) Give it (something) a set of records from an ActiveRecord search
2) Have it take those records, and do the following:
a) Plot origin and destination location(s)
b) Add a line
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=