Displaying 20 results from an estimated 10000 matches similar to: "RoR groups/classes in Osaka"
2006 Apr 03
15
How should I pick a random entry from the database?
Hi guys. Total newbie here. I''ve been doing web stuff since 1996 but
only began the foray into scripting last year. I haven''t got my skull
completely 360 degrees around OOP yet. It''s just me here (in Japan) and
there are no Ruby groups in my area (never mind any in English).
I''ve got a database table - real simple: question, answer, and id fields
- and I
2006 Jun 01
4
How do I get today''s date?
I know this is a simple question, but i just want to put the current
day, month, date and year on my website. I still can''t figure out how to
read the Rails API. Can anybody help me out? TIA
--
Posted via http://www.ruby-forum.com/.
2002 Dec 11
1
residuals: lm and glm
Dear list members,
I would like to know the difference in outputs and calculation processes
between residuals.glm(object, type="response") and residuals.lm(object).
For above-ground biomass estimation of trees, I estimated parameters of
an allometric equation (ln y = b0 + b1*ln x) using glm as follows:
fm <- glm(Ws~log(Wb), family=quasi(link="log",
2006 Mar 27
3
[LLVMdev] PyPy Tokyo sprint 23/4 - 29/4 announcement
Hello LLVM,
During this sprint we will also look at using LLVM JIT for our project.
What exactly we will do in Tokyo very much depends on who will
attend. So if you are interested please contact me beforehand so we
can make sure everyone will have a fun and productive time.
cheers,
Eric van Riet Paap
Tokyo PyPy Sprint: 23rd - 29th April 2006
2006 May 12
8
switching from development to production?
I think I''m missing a step here, but they don''t seem to cover this in
the AWDWR book... does anybody know the various steps required to switch
from development to production mode in Rails? I''ve scoured the
application and changed everything that stands out, but the damn thing
is still running off the development database and won''t connect to the
production
2006 Apr 06
2
making an integer from a float
Does anybody know how to turn a floating-point number (i.e. 60.345) into
an integer by cutting off or rounding the decimal portion? Either
method, or both, would be quite welcome. Thanks! This forum rocks!
--
Posted via http://www.ruby-forum.com/.
2006 Jul 05
3
splitting a story with double-spaced para''s
Quick question - if i want to separate a long string of text, separated
by single carriage returns, into an array of paragraphs, I can use the
following code:
paragraphs = article.content.split("\n")
The "\n" means a carriage return, as far as I can tell.
If I wanted to take text, that had been written using the more common
double carriage returns, into an array of
2012 Jan 02
1
tcp version of toronto - osaka doesn't work
I'm trying to setup a simple tcp sip connection based on the toronto
osaka example in the Asterisk book.
On the remote box (osaka) (1.8.9.0-rc1):
[toronto]
type=friend
transport=tcp
secret=welcome
context=toronto_incoming
host=dynamic
disallow=all
allow=ulaw
sip show peer toronto
* Name : toronto
Secret : <Set>
MD5Secret : <Not set>
Remote Secret:
2006 Mar 30
7
text_area
How to make that the typed code on ruby in text_area it was carried out
in @params ["name"]??
--
Posted via http://www.ruby-forum.com/.
2006 Jun 06
8
How do I wrap a <%= link to %> around an image?
I''ve got a bunch of dynamically generated link paths that I want to use
to link some dynamically-generated image paths. Specifically, I want to
link thumbnails in a gallery to the larger images.
But I''m stymied by Rails'' syntax. I can''t figure out how to do this.
I tried this:
<%= link_to(image_tag("../../images/photos/photo.photogroup/TN_
2006 May 17
5
Today is "Rails Hates Me Day"
Has anybody had Rails just refuse to cooperate with anything?
I had an application working great in development mode, then switched it
over to production, tried to host it, but couldn''t. Some error that I
can''t figure out. So I decided to create a simpler application, host
THAT in little baby steps until something went wrong so I could tell
maybe where I was losing it.
2006 Jul 05
2
splitting a paragraph into words and spaces
I''m using this:
<% words = article.content.split(/ /) %>
<%= words[0..20] %>
to (ostensibly) split a paragraph into component words, with spaces in
between, then print to html only the first 20 items, words and spaces. I
got this (split(/ /)) from the online pickaxe book at
http://rubycentral.com/book/ref_c_string.html#String.split . The problem
is, the resulting array
2006 Jun 08
1
built-in dropdown jumps?
Hey everybody! I was just wondering if Rails'' javascript library
includes something as simple as making a dropdown that jumps to the link
when selected without needing a "submit" button. I see a bunch of AJAX
effects and draggable-element stuff, but all i need is a simple
dropdown... should I code it myself?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 05
1
where do you put Classes in RoR
I''m just trying RoR and it works very smoothly. I''am also somewhat
familiar with ruby however I do not know where my Classes are supposed
to go in RoR.
E.g. my ruby file looks like
include a_few_lib_here
Class function_name
def aaaa
end
end
#main program
yadayada = function_name(parameter)
I understand:
- the main program goes in a controller I have to create
- but
2002 Nov 18
1
未承諾広告※ Get Free Prog. CD プログレCD無料プレゼント
(It is not spam. I sned email to prog lovers. But if you don't want to get next email, please click below URL)
http://210.230.231.33/g/m/s.aspx?R=493E1&U=3F810&M=2B
(???????????????????URL???????????)
http://210.230.231.33/g/m/s.aspx?R=493E1&U=3F810&M=2B
Hello progers!
We are vender of Japanese prog rock. Please visit our site.
http://www.musicterm.jp/english/
If you get our
2006 May 22
0
Please help on chan_h323.
Hello,
Thank you for the job well-done.
I installed the chan_h323 of the asterisk-1.2.7.1 and with lib
pwlib-v1_10_0-src-tar.gz and openh323-v1_18_0-src-tar.gz and I used licensed
g729 from digium.
However, I am having a very funny behavour.
1. If I send a call on its ringing at the called side but the caller didn't
get the ringing tone.
2. if the called picks up the phone, I am
2008 Mar 25
0
Questions about backgroundrb
Cc''ing to the list for archival purposes:
On Tue, Mar 25, 2008 at 7:55 PM, Brian Noguchi <brian.noguchi at gmail.com> wrote:
> Hi Hemant,
>
> I''m Brian Noguchi, a developer in the Bay Area. I have some questions about
> backgroundrb, and I found your contact info on a forum. I figured its
> probably best to get answers straight from the source.
>
>
2006 Apr 07
22
Find WHERE in Rails
I''d like to find all records that have a certain integer as their
"level" field in the database. I know how to find all the records:
allquestions = Question.find(:all)
...and I know how to find the one record that has a certain id:
allquestions = Question.find(params[:id])
...but how do you find all the records that share a certain value in one
of their fields? I tried
2013 Jun 13
4
Rails 3 application capable of generating an offline version of itself for download as zip archive
I''m kinda newbie in RoR yet and I''m having a hard time trying to figure
out how should I implement this. I''m writing an application to store and
display information about insects and their distribution. Currently I
have almost all functionality implemented, except for a **very**
important one: The application must be capable of "crawling" itself and
generate a
2015 Apr 24
0
CfP Virtualization in High-Performance Cloud Computing Workshop (VHPC '15)
=================================================================
CALL FOR PAPERS
10th Workshop on Virtualization in High-Performance Cloud Computing (VHPC
'15)
held in conjunction with Euro-Par 2015, August 24-28, Vienna, Austria
(Springer LNCS)
=================================================================
Date: August 25, 2015
Workshop URL: http://vhpc.org
Paper Submission