Philip Hallstrom wrote in post #937228:
Just for the sake of argument... how about the time it takes runners to
finish a marathon? Sure you could use seconds as an integer field, but
time without date make sense...
I'm currently developing application, where I need to store beginning
date
In my controller I have
def update_project_dates
p It is end date.
@user=User.find(params[:user])
@projects=Project.find_all_by_user_id(@user)
end
In the view page (only some part of the code is copied and pasted)
eventDrop: function()
{
In rails 2.3.5 (with active scaffold) all my columns in display were
sorted even though they belonged to a related table. But in Rails 3.2.8
, only columns which belong to the main table are sorted .To sort a
related table column we need to specifically add the line below
RecordSelect is a Rails widget to help you pick one record out of many.
It works in Rails 3.2.8 in the main pages but not in the nested pages.
Does anyone else also face the same problem??
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Hi,
I've done a registration form with password and password_confirmation
fields and the fields are being cleared if there is an error with another
form input, e.g. invalid email. I find it annoying that password has to be
reentered when there is a problem with another field, actually, there
I have a column hours which I want to sum up the decimals
Week.sum('hour')= 22.5
But I want to select by project_id not the hole table.
Week.find_all_by_project_id(@project.id, :select = workhour).sum
#undefined method `+' for #Week hour:
#BigDecimal:7fd68b358400,'0.0',9(18)
I cant find
On Wednesday, 24 October 2012 18:26:15 UTC-4, Filipe Giusti wrote:
Hi fellow programmers,
I was looking for how to keep integrity in some financial transactions and
I saw this This could even happen if you use transactions with the
‘serializable’ isolation level. in the uniqueness page
Even if the below solutions I found work in the console, it is no the case
in the controller because the result is no more Array or AR relation but
ActiveSupport::OrderedHash and 'paginate' method does not accept that:
*1st way:*
irb(main):019:0 cc =
On Thursday, 25 October 2012 19:19:34 UTC-4, Matthias Frick wrote:
hmm, i understand your opinion, but nowadays it would be very convenient
to have so a docking station layer.. nearly every rails app interacts with
external services, so I think it would be a great idea.. more other
Can someone solve this error:
/usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle:
dlopen(/usr/local/lib/ruby/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle,
9): no suitable image found. Did find: (LoadError)
Hi,
I am looking for a developer who is keen to take on some contract work.
If you have capacity (full time or part time) and might be interested
please respond to me directly.
Regards
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
On Oct 26, 2012, at 7:15 AM, Dmitry Maksyoma wrote:
Hi,
I've done a registration form with password and password_confirmation fields
and the fields are being cleared if there is an error with another form
input, e.g. invalid email. I find it annoying that password has to be
reentered
On Saturday, October 27, 2012 2:08:53 AM UTC+13, Walter Lee Davis wrote:
I've done a registration form with password and password_confirmation
fields and the fields are being cleared if there is an error with another
form input, e.g. invalid email. I find it annoying that password has to be
Dmitry Maksyoma wrote in post #1081303:
No, I'm not using auth engine, I only use `has_secure_password'. I've
tried
removing that and adding `attr_accessor :password,
:password_confirmation'
and it didn't change a thing, so it seems to be the default Rails
behaviour.
My view:
Am Dienstag, 31. August 2010 23:12:51 UTC+2 schrieb Philip:
Just for the sake of argument... how about the time it takes runners to
finish a marathon? Sure you could use seconds as an integer field, but
time without date make sense...
I agree that 4pm is kind of pointless, but 16 hours
Dave,
You nailed it. Either way works fine. I could not find a reference
with the grammar explained as you do below, at least not in the specific
XML Builder context.
Thanks.
Page
-Original Message-
From: rubyonrails-talk@googlegroups.com
[mailto:rubyonrails-talk@googlegroups.com] On
On Oct 25, 2012, at 4:32 PM, Jason Walsh wrote:
webber han wrote in post #1081214:
Jason Walsh wrote in post #1080993:
Am having real probs trying to use Ajax with my Rails app. I have set up
a test as
follows:
in javascript file:
window.onload = function() {
On Oct 26, 2012, at 8:18 AM, Werner wrote:
I have a column hours which I want to sum up the decimals
Week.sum('hour')= 22.5
But I want to select by project_id not the hole table.
Week.find_all_by_project_id(@project.id, :select = workhour).sum
#undefined method `+' for #Week hour:
Yes, check ActiveSupport, RoR has it.
On Oct 26, 2012, at 10:34 PM, KlausG wrote:
Am Dienstag, 31. August 2010 23:12:51 UTC+2 schrieb Philip:
Just for the sake of argument... how about the time it takes runners to
finish a marathon? Sure you could use seconds as an integer field, but time
Thanks Rob.. true.. it works as expected..
Am Freitag, 26. Oktober 2012 16:53:13 UTC+2 schrieb Rob Biedenharn:
On Oct 26, 2012, at 8:18 AM, Werner wrote:
I have a column hours which I want to sum up the decimals
Week.sum('hour')= 22.5
But I want to select by project_id not
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Thanks
Regards
Fahim Babar PAtel
--
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
I have 2 clients: one in downtown DC and the other one is near Herndon,
VA. Both companies are looking for Senior Rails Developers. These are
full time, on-site, salaried RoR Developer positions paying 130-160k
depending on experience + benefits. These jobs are available to local
candidates who
Try Google. :)
https://www.google.com/search?q=ajax+with+railsoq=ajax+with+railssugexp=chrome,mod=0sourceid=chromeie=UTF-8
On Fri 26 Oct 2012 12:38:20 PM ART, Fahim Patel wrote:
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Thanks
On Fri, Oct 26, 2012 at 10:38 AM, Fahim Patel pafa...@gmail.com wrote:
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Include jquery-rails and do it like you normally would.
--
You received this message because you are subscribed to
24 matches
Mail list logo