Displaying 20 results from an estimated 800 matches similar to: "How to query with calculations?"
2006 Aug 16
5
New, and need help
Hey, well im new to ruby. I heard it was a web site creating software.
Well the problem is that where do i get the software from? ill work out
how to use it, i just need to know where to download the software.
Thanks.
-MAB
--
Posted via http://www.ruby-forum.com/.
2006 Aug 14
1
monitor an app for errors
hello there
how can i monitor an app. what i need most is when and where error pages
were printed to user, such as RoR errors, database problems or such.
is there an instance problem that i can use avalaible to views or helpers
??????
______________
Heri R.
http://sprinj.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails
I want to create Tabs similar to these...
http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People
Can someone outline the best method?
Specifically,
Is creating a tabs.html in \..apps\views\layouts and using
class PhotoController < ApplicationController
layout "tabs"
....in my
2006 Jul 28
1
long waiting time for first page due to session[:user]
hi everyone
i am developing http://sprinj.com
it uses a login system, quite simple, really, similar to loginEngine
the problem is that takes way too much time to access the first page. when i
desactive the login system, there is very noticeable difference (about 2 to
3 seconds), and people who visited the website complained about this.
is there something i can do to speed the sessions checkups ?
2006 Sep 23
6
Scalability and Possiblity
I''m not sure this is the appropriate community to get objective
unbiased feedback on this issue, but I suppose it''s worth a gander...
Here''s my question:
Is it possible to write a massively scalable application intented for
millions of users (i.e. Yahoo, Google, MySpace, etc.) using Ruby on
Rails?
I''m sure apps like these can be built, but can they scale to
2006 Aug 05
5
Searching a database
If I have a list of items, how can I search some item in the list, by
some criteria or something else?
--
Posted via http://www.ruby-forum.com/.
2012 Nov 10
4
help on date dataset
Hi everybody,
I am beginer in R and I need your precious help.
I want to create a small function in R as in sas to retrieve date.
I have a file with data that import in R.
DATE PAYS nb_pays.ILI.
1 24/04/2009 usa 0
2 24/04/2009 usa 0
3 24/04/2009 Mexique 0
4 24/04/2009
2009 Jul 11
2
Date conversions
Hi all,
I'm having a little bit of trouble with some date conversions and
am hoping someone can help me out. Thanks in advance.
OK, I have two sources of data that provide date info in a csv file
differently. I've attached a small zipped file with two text files
that illustrate both. (Is it ok to send attachments to this list? Not
sure. It's very small.) I need to be able to
2009 Jun 18
3
Date.new.to_time.to_i
What''s going on here!?
>> Date.new.to_time.to_i
NoMethodError: undefined method `to_i'' for Mon, 01 Jan -4712 00:00:00
-0800:DateTime
from (irb):25
>> Date.today.to_time.to_i
=> 1245308400
>> RUBY_VERSION
=> "1.8.7"
>> Rails.version
=> "2.1.1"
(I''m not sure if this is a rails thing, or just a ruby thing)
--
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
2005 Feb 24
2
Row median of Date class variables in a data frame
I am trying to calculate the median of each row of a
data frame where the data frame consist of
columns of class Date.
Below are my test data and best attempt at using apply.
I didn't see a solution via Google or the Baron search
site.
I'd be grateful for any suggestions or solutions.
I'm using R 2.0.0 on Mac OS X.
Thank you,
Stephen Weigand
### Test data
date1 <- c(1000,
2006 Dec 28
3
Dates in R
Hello all,
Can somebody point me to references or provide some code on dealing with
this date issue. Basically, I have two vectors of values that represent
dates. I want to convert these values into a date format and subtract the
differences to show elapsed time in days. More specifically, here is the
example:
Date1 Date2
032398 061585
032398 061585
111694 101994
111694
2007 Feb 21
2
date helper bug?
I''ve found an issue when trying to use the time_ago_in_words and
distance_of_time_in_words from action view''s date_helper.rb
Using SQL Server, I have a datetime column that gets returned as:
"2007/02/21 09:54:00". When I pass this to time_ago_in_words (which
just passes on to distance_of_time_in_words) it miscalculates the
difference as "9 hours" (...um yeah,
2013 Apr 13
2
Comparison of Date format
Hi,
?In the example you provided, it looks like the dates in Date2 happens first.? So, I changed it a bit.?
DataA<- read.table(text="
ID,Status,Date1,Date2 ??? ??? ??????
1,A,3-Feb-01,15-May-01 ??? ???
1,B,15-May-01,16-May-01 ??? ???
1,A,16-May-01,3-Sep-01 ??? ??? ??? ??? ???
1,B,3-Sep-01,13-Sep-01 ??? ??? ??? ??? ???
1,C,13-Sep-01,26-Feb-04 ??? ??? ??? ??? ???
2009 Dec 09
1
reshape() makes R run out of memory (PR#14121)
Full_Name: Alexander L. Belikoff
Version: 2.8.1
OS: Ubuntu 9.04 (x86_64)
Submission from: (NULL) (67.244.71.200)
I'm trying to reshape the following data frame:
ID DATE1 DATE2 VALUE_TYPE VALUE
'abcd1233' 2009-11-12 2009-12-23 'TYPE1' 123.45
...
VALUE_TYPE is a string and is a factor with only 2 values
2015 Nov 06
4
Puzzled by eval
I am currently puzzled by a seach path behavior. I have a library of a dozen routines
getlabs(), getssn(), getecg(), ... that interface to local repositories and pull back
patient information. All have a the first 6 arguments in common, and immediately call a
second routine to do initial processing of these 6. The functions "joe" and "fred" below
capture the relevant
2006 Aug 07
2
Customizing show
I''m trying to tidy up my first rails app, and want to customize the action
''show'' (created by generating a scaffold). It''s a recipe database, and some
of the fields are not required when submitting a new recipe, such as the
"History" field. However, when I want to show that recipe, I don''t want the
column name "History" to show if
2006 Oct 28
2
anything rails based app like pligg or digg out there ?
I am wanting to do something like digg but internally at our company
and am looking for a rails based starting point. There is something
out there called pligg which seems pretty good, but it is PHP based and
I expect to be making quite a few changes/additions, so would really
prefer a project based on rails !
- hope to hear from you
--~--~---------~--~----~------------~-------~--~----~
You
2006 Aug 11
2
User Favorites
Hi there,
I''m currently creating a simple (at least so I thought) structure of
user favorites. Basically users can add certain ''objects'' to their
list of favorites.
Here is my current structure (simplified)
class User
has_many :favorites
end
class Book
belongs_to :favorites
end
class Favorite
belongs_to :user
has_one :book
end
The table favorite just has a two
2006 Jan 15
4
form inputs resetting on sumbit
I searched for forum for something about this but couldn''t find
anything.
For example I have this in my view: (you enter start/end dates from
dropdowns, pick a category and a report is generated.)
<%= start_form_tag :action => ''display_report'' %>
From: <%= date_select ''report'', ''date1'' %> <br />
To: <%=