Displaying 20 results from an estimated 32 matches for "soichi".
Did you mean:
sochi
2012 Feb 24
3
Devise generates Mailer by its own?
...generate Mailer class when "rails g devise..." command is
executed?
Or do I need to do some special command in order to generate Mailer?
I have certainly set up a devise User table but there is no Mailer class
for it, although I can generate ActionMailer separately.
Thanks in advance.
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2004 Jul 09
3
Can R read data from stdin?
Is there anyway I can write a script which feed input datasource from stdin
and let R process it (maybe frequency report) then output the report to
stdout?
I can't seem to find much info on documentation or FAQ on this topic.
Thanks!
Soichi Hayashi
**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, y...
2012 Oct 13
4
Database design, working but looking for better ways
...string)
from both departures and destinations, dealing with the connections
among them by id''s.
It works. But I am wondering if there are better ways to do it. The
logic becomes rather complex and inevitably the database workload will
be troublesome(?), I suppose.
So what do you think?
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2013 Jan 07
2
plot x-axis DateTime NOT evenly spaced
..., and they are not
evenly spaced. Obviously hours, minutes and seconds are important for the
plot.
I tried
interval$date <- as.Date(interval$date, "%Y-%m-%d %H:%M:%S +0900")
but this chops the time off.
Could anyone show me how to plot data with x values as Date(or Time)
objects?
soichi
[[alternative HTML version deleted]]
2013 Apr 27
4
required field for one, optional for another
...optional.
For professional users, in addition to above, addresses and real names
are required.
Is there any Ruby way to set the requirement depending on the type of
users?
Is JavaScript the only way?
Sorry about to being too broad and too general. To be honest, I have no
idea where to start.
Soichi
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/E...
2012 Nov 12
7
RSpec: controller POST create
...equence(:weight) { | n | n }
sequence(:check_in) { |c| [ true, false ][c%2] }
sequence(:flight_name_id) { |n| n }
day_departure Date.new(2012, 12, 1)
end
end
which does work.
Question:
Can you show me how to pass the object to create method WITH valid
attributes?
Thanks in advance
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2004 Jul 21
3
Can R work on very large of data?
...all I am doing would be some basic statistical
report. (Min,Max,Mean..)
I have heared something about the PostgreSQL extension where it allows R to
act on certain portion of the PostgreSQL data instead of reading it all. Can
I do something similar to other datasource such as stdin?
Thanks,
Soichi
**********************************************************************
The information contained in this communication is\ confiden...{{dropped}}
2013 Mar 11
3
take two columns from a set of lists
say I have a matrix and lists like
x <- matrix(c(12.1, 3.44, 0.1, 3, 12, 33.1, 1.1, 23), nrow=2)
x.list <- lapply(seq_len(nrow(x)), function(i) x[i,])
if I want a column of the matrix x, I write
x[, 2]
for example.
But how can I do something similar for a set of lists, x.list, above?
> x.list
[[1]]
[1] 12.1 0.1 12.0 1.1
[[2]]
[1] 3.44 3.00 33.10 23.00
unlist(x.list)[,2] does
2012 Nov 30
4
Tokeninput incremental search not working
...es NOT search cities at all.
Since above case works (though not incremental filter), the problem must
be the second query part.
But I don''t see any problem in the where clause. It does not raise any
errors at all. Simply, puts
"No results"
Can you guess where the problem is?
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2012 Feb 22
3
Parent id for find_or_create method
...;
<% end %>
But this will set "Script id" to be "Video id", which are supposed to be
distinct from each other.
I assume the problem is the way I use "create_or_update".
Could anyone tell me where the problem is and hopefully the solution?
Thanks in advance.
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2012 Aug 25
2
cannot bundle install due to missing therubyracer
...am sharing the
Rails project files through Dropbox.
When I chose to develop a project further in this Ubuntu machine, I have
executed ''bundle install'' which gave an error
#---------
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
/home/soichi/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
....
An error occured while installing ther...
2013 Mar 18
4
plotting CIE chromaticity diagram?
Has anyone plotted or is it possible to plot
CIE *xy* chromaticity diagram
http://en.wikipedia.org/wiki/File:CIE1931xy_blank.svg
I need this plot in color.
ishida
[[alternative HTML version deleted]]
2012 Mar 02
2
Change DB data type and limited decimals
...ve two questions:
1. Is removing and adding the field through migration the only way?
in other words, is there a single command to change the type?
2. Is there anyway to limit the decimal place to only one?
56.3, 34.2... are acceptable, but 23.112, 77.34, ... are not.
Thanks in advance.
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2012 Jan 27
4
Redirecting to create new page with input
...ntry??? In other words, in the creating new
page, the URL (and hopefully the video_title) is to be already filled
out.
I am thinking that I need to set "routes.rb" so that redirecting can
take
some values together. But routing is very confusing to me so far.
Could anyone help me out?
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2013 Jun 03
1
sidekiq: push background results to front
...form'' is in app/workers directory, as instructed
in the documentation of Sidekiq. It must be simple but I am unable to
find the way to do it yet.
Somehow I need to let a controller reload the page, OR with the help of
jquery ajax, to show the results, I guess?
Could anyone give me tips?
soichi
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/E...
2012 Sep 23
2
Find by id in the view template dynamically
...tinct
airline company.
Certainly the database stores the airline company names which correspond
to the
plans. The loop in the view template gives, however, the identical
value.
Could anyone give some ideas that the template view shows distinct
airline company corresponding to each plan?
Thanks.
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2012 Feb 07
2
save method (create action) saves twice
...json: @script.errors, status:
:unprocessable_entity }
end
end
end
And script.rb
class Script < ActiveRecord::Base
belongs_to :video
has_many :users
end
If the information I provide is not enough, please indicate which part
of my code is ought be disclosed.
Thanks in advance.
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...
2013 Mar 10
2
list + lapply insead of matrix + apply
I need to develop a simple list manipulation. Although it seems easier to
do it in matrix form, but I need it in list form.
I have a matrix
x <- matrix(c(12.1, 3.44, 0.1, 3, 12, 33.1, 1.1, 23), nrow=2)
for list form example, the conversion is
x.list <- lapply(seq_len(nrow(x)), function(i) x[i,])
### list version
calcnorm=function(a, b){
diff <- mapply("-", a, b)
2012 Oct 03
1
distinguishing input objects for a function
...;, c(1, 2, 3))
I can parse the both arguments by converting them into string, but I am
wondering if there is a better (more efficient) way to achieve this.
Perhaps, using built-in R functions can help, I suppose?
Does anyone have any idea for the function taking more than one kind of
argument?
soichi
[[alternative HTML version deleted]]
2012 Sep 10
2
suggestion for user-friendly input: typeahead
...dy. In
that case, I am very afraid that CPU''s and database processes would be
beyond the potential capabilities.
Do you think it will work if I put, say, the entire json data ready
prior to typing?
Or does anyone have any good suggestions for user-friendly input helper
methods?
Thanks
soichi
--
Posted via http://www.ruby-forum.com/.
--
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 group, s...