similar to: Not updating the updated_at field

Displaying 20 results from an estimated 1000 matches similar to: "Not updating the updated_at field"

2006 Jul 11
8
Stop updated_at from auto updating?
Hi Is there any way to temporarily stop the updated_at field from being updated when a record is modified with ActiveRecord? I have a date field which is keeping track of when the record data was last checked by my application and my app manually updates it, of course when I do this the updated_at field is also touched making it fairly useless for finding out when the actual data was changed
2012 Jun 14
3
What is the difference between Soap API and REST API?
Regards, Seeni Rafiyullah Khan A, * * -- 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, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
> So what addIntervalsToSpills returns are new intervals to allocate with > infinite weights, right? > And I need not to allocate the old interval. Should hasStackSlot return true > on its register then? > I am not very sure about addIntervalsToSpill, but, for all the registers created to replace a spilled registers, they must have a stack slot assigned to them. I am sending you my
2011 Nov 02
4
undefined method `updated_at' for #<Classified:0x686c5e4>
HEllo, I have the following problem with rails, I am new in this...is there anyone who explain to me what´s happens? Thanks See below: NoMethodError in Classified#show Showing app/views/classified/show.rhtml where line #17 raised: undefined method `updated_at'' for #<Classified:0x686c5e4> Extracted source (around line #17): 14: 15: <strong>Date Posted:</strong>
2008 Feb 12
4
Syntax of session's updated_at field ?
What''s the syntax to acquire the updated_at value of a session stored in a db? session.updated_at doesn''t work. can''t find any docs on this. -- gw --~--~---------~--~----~------------~-------~--~----~ 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
2011 Jan 24
2
Seeing what has changed in ActiveRecord
I have a callback (before_save) that I want to trigger only when certain fields within a record have changed. For example given a user record with ''username'', ''password'' and ''date_of_birth'' I would like the callback to do something only when the ''username'' or ''password'' changes or when the
2011 Feb 02
3
Connectivity Code
Hi. I am connecting from Console to SQL Server with ruby on rails on windows XP but while executing the following code, only the coloured code is executing, i want the exact procedure, how to connect from database step by step procedure.. require "dbi" begin # connect to the SQL server dbh = DBI.connect("DBI:ODBC:TESTDB:localhost", "testuser",
2008 Jul 02
3
update_all not changing updated_at
Hi everyone- Model.update_all works and changes the records, but it''s not changing the updated_at field. Am I doing something wrong or is this by design? Thanks, Dino --~--~---------~--~----~------------~-------~--~----~ 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
2013 Sep 11
1
when does 'updated_at' column get updated?
Using centos 6 with puppet-2.6.17 with thin_storeconfigs with mysql and nagios exported resources. Every time an agent connects to the master, the updated_at column in the hosts table is updated. However, the updated_at column in the other tables is not updated even when I alter a nagios resource attribute like retry_check_interval. What are the conditions by which the updated_at column is
2009 Oct 16
5
Rails 2.3 Model.touch(:column) always also updates :updated_at???
Hi, Am I the only one (i.e. something I do is wrong), or does the touch- method always update updated_at, even though giving it a column to use INSTEAD is meant to update just that column??? Thanks, Michael
2010 Mar 25
3
Simple application monitoring
I have just had a server halt itself and it took me some time to notice. I am planning on implementing some application monitoring using an external service that polls the website from outside. If it can''t reach it then it will SMS me or something. (I would like Prowl on my iPhone and Mac at the same time). I could point the monitoring service at one of the application URLs but I
2010 Dec 13
9
created_at, updated_at and MSSQL
Hello, I am running into a little issue. There is a considerable time difference between the time that the console is giving me and the time I am seeing in the created_at and updated_at column in the DB. The difference is about 5 hours. I don''t think the problem is in the DB, but I could be wrong. Am I missing something obvious? Any clues? -- You received this message because you are
2009 Nov 27
2
update_attribute does not update
My server is running Rails 2.3.4...am I not doing this correctly or is something borked? >> c=Contact.last => #<Contact id: 24, name: "Larry", email: "larry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", phone: 2147483647, account_id: 8, created_at: "2009-11-27 18:16:25", updated_at: "2009-11-27 18:40:08", hide_name: false, hide_phone: false,
2010 May 17
14
noob questinon: is dev in rails underwindows a good idea
Hey guys, thx for talking your time to answer this post, i much appreciate it. 1. is dev in rails under windows a great idea.i can think of 10000 reasons, i know, bu i can;t install linux on my PC, for now at least. the compamy that i am working for wants me to install all of the programs i need to develop a free lancer site, like this one http://www.bestjobs.ro/(if u look at the right upper
2011 Aug 14
5
Puzzled with form on multiple table rows
I''ve got a table of events, and each event has a boolean attribute is_ten_event. On each row of the table is a chekbox to edit the value of is_ten_event, so that multiple rows can be edited with one submit. In order to allow boxes to be un-checked as well, the logic in the controller works like this get array of events from checkboxes that are ticked. make all events.is_ten_event =
2012 Sep 11
4
Should i buy Ruby on Rails 3 Essential Training with Kevin Skoglund from Lynda.com
hello people, i m new to rails and i m thinking of buying Ruby on Rails 3 Essential Training with Kevin Skoglund tutorial http://www.lynda.com/Ruby-on-Rails-3-tutorials/essential-training/55960-2.html but problem is the tutorial is created on 2010 oct => so its 2 yrs old so my question it is fine to Buy these Tutorial in the changing rails world? Please Help me -- You received this
2013 Jul 03
2
[Bug 9995] New: Rsync 3.1 dev :
https://bugzilla.samba.org/show_bug.cgi?id=9995 Summary: Rsync 3.1 dev : Product: rsync Version: 3.1.0 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: dochitoai.vu at ladhyx.polytechnique.fr
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
So what addIntervalsToSpills returns are new intervals to allocate with infinite weights, right? And I need not to allocate the old interval. Should hasStackSlot return true on its register then? On 8/21/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > Well, someone correct me if am wrong, but, you still have to allocate > physical registers to them,
2011 Apr 05
6
How to achieve Google Reader-like layout in Rails?
Hi I''m trying to create a web application with a UI that is fundamentally similar to Google Reader, in Rails 3 and probably with some Javascript toolkit (jQuery?). I''m new to web development (my background is in desktop application development), however, and after some experimentation with CSS layout I''m frankly unsure of how to achieve the desired layout. Therefore
2011 Aug 04
4
Problem in migrating a database to Heroku
When trying to migrate a database to `Heroku`, I get the following (Provided that I''m using `gem ''sqlite3'', ''1.3.3''`: $ heroku rake db:migrate (in /app) rake aborted! uninitialized constant Rake::DSL /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in `const_missing''