I have the following models
class Parent ActiveRecord::Base
has_many :children
end
class Child ActiveRecord::Base
belongs_to :parent
end
What I want to do is changing a child object by
parent.children.find_or_initialize_by() and modify the child object, then
save
My question is maybe silly but I have a text_field_tag define like this
in my code:
%= text_field_tag(repcarte, @reperecarte ,:class = input
colonnetab)%
Using this I thought that when in my application I will size some text
in the text_field then my variable @reperecarte will contain the sized
On 2 June 2014 13:36, Fab Forestier li...@ruby-forum.com wrote:
My question is maybe silly but I have a text_field_tag define like this
in my code:
%= text_field_tag(repcarte, @reperecarte ,:class = input
colonnetab)%
Using this I thought that when in my application I will size some text
What is missing is that you still have not understood some of the
basics of rails, and the answer is to do what I have suggested on
several occasions which is to work right through a good tutorial such
as railstutorial.org (including doing all the exercises).
Colin
I think that your answer is a
Hi
I have installed gem install rake on my machine.
but when I run command rake
C:\Ruby193\lib\ruby\gems\1.9.1rake
it gives error message as
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
(See full trace by running task with --trace)
kindly help
This is normal. You need to run Rake from within the same folder as a Rakefile,
as the error indicates.
Make sure that your PATH is set to include the folder where rake lives, so that
you can type the command from anywhere (not a fully-qualified path to the
executable as you seem to have done
On 2 June 2014 14:20, Fab Forestier li...@ruby-forum.com wrote:
What is missing is that you still have not understood some of the
basics of rails, and the answer is to do what I have suggested on
several occasions which is to work right through a good tutorial such
as railstutorial.org (including
I have been asked to give a presentation on the AS/400 / iseries to a
group of my co-workers. Can anyone share any presentation material or
information that may help me with this presentation? Here's some
information: Proposed Topic: AS/400 /iseries History and Capabilities
Audience: 30 technical
On Jun 2, 2014, at 7:20 AM, Fab Forestier li...@ruby-forum.com wrote:
I think that your answer is a little bit too easy why do you spend time
to answer me the same thing all the time?
Because you not only keep asking very basic questions which demonstrate a
near-total lack of understanding
I need to staff my project in with 5-8 Sr. DevOps guys and 5 Sr. Ruby
developers.
Please contact me for further details.
Regards
Srinivas Veeramasu
West Advanced Technologies, Inc
(E): srini...@wati.com, (T):703-544-2061;
(M):703-485-5715www.wati.com
Success Delivered. Since 1998.
--
On 2014-Jun-2, at 09:30 , Walter Lee Davis wa...@wdstudio.com wrote:
This is normal. You need to run Rake from within the same folder as a
Rakefile, as the error indicates.
Make sure that your PATH is set to include the folder where rake lives, so
that you can type the command from
Hello
I have a problem with the inquiries in my web page, I am using refineryCMS
and I have configured for sending emails at my mail account. But it does
not work and the log returns this error : 503 STARTTLS command used when
not advertised.
If you need any file only ask me.
I hope your
On Monday, June 2, 2014 10:10:10 AM UTC-4, Antonio Arcos wrote:
Hello
I have a problem with the inquiries in my web page, I am using refineryCMS
and I have configured for sending emails at my mail account. But it does
not work and the log returns this error : 503 STARTTLS command used
Hello,
for several months my site turned around 2300 request / min (according to
newrelic)
But since 3-4 days it dropped down to 1300 request / min
I changed nothing on my site. Maybe I 've just updated the server.
The site runs pretty well (about 120ms per request)
according to htop,
On Mon, Jun 2, 2014 at 2:39 PM, Oto Iashvili
optimum.dulo...@laposte.net wrote:
for several months my site turned around 2300 request / min (according to
newrelic)
But since 3-4 days it dropped down to 1300 request / min
So why do you think there's a technical issue? Wouldn't it be just
as
Dear all developers,
I want to use slideshow in my website. and i did a research rambling slider
could use with rails.
but i don't know how to use it. any one could help me.
thanks you,
veasna
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
hi
thanks for answer
I dont speak about number of visitors, but about number of request (mainly
bots). I would love to hav 2300 visitors per minutes , even 1300 would be
great. so for almost one year, I had approximately the same number of
request, and suddenly it decrease a lot. Maybe as
On Mon, Jun 2, 2014 at 7:15 PM, Oto Iashvili
optimum.dulo...@laposte.net wrote:
I dont speak about number of visitors, but about number of request (mainly
bots). I would love to hav 2300 visitors per minutes , even 1300 would be
great. so for almost one year, I had approximately the same
My question is about AR transactions feature. Is it thread safe?
Is it safe to use both `*ActiveRecord::Base.transaction do ...*` and
`*Account.transaction
do ...*` statements?
I plan to use Puma as web server, and Sidekiq for background processing.
Is there some tricks I should know about?
hi
thanks for answer.
ok. Is there a way to count nginx requests ?
But nginx doesnt log all requests. For instance for
this
Hi All,
My name is Ali and I am an embedded software engineering (C, C++ on
embedded platforms), but want to learn Ruby on Rails mainly because I want
to start my own start-up and based on my research Rails is the most
efficient way of creating web applications. So I am really happy to join
Using RSpec, Rails
Preloading Rails environment
undefined method `generators' for
#Rails::Railtie::Configuration:0x000339a898 (NoMethodError)
/home/rorway/.rvm/gems/ruby-2.1.2/gems/railties-4.1.1/lib/rails/railtie/configuration.rb:95:in
`method_missing'
22 matches
Mail list logo