Displaying 20 results from an estimated 200 matches similar to: "Irreversible Migrations"
2011 Aug 19
0
Rails 3.1 reversible migrations and change_table
Hi,
is the following migration really supposed to be irreversible?
class AddColumnsToUsers < ActiveRecord::Migration
def change
change_table :users do |t|
t.integer :foo
t.integer :bar
end
end
end
I''m using Rails 3.1 RC6 and when trying to redo this migration I''m
getting ActiveRecord::IrreversibleMigration error.
Cheers,
Szymon
--
You received
2006 Jul 15
6
Subversion and migrations confusion
I''ve spent the last several months learning RoR and building my first app. I''ve not used migrations yet and honestly don''t understand them much, and have not had my app under version control. I''ve decided it''s time (I know, some will say way past time ;-) ) to put the app under version control. I''ll be using Subversion and have begun working
2007 Dec 21
0
db:migrate problem
I''m having a bit of trouble getting a rails project to build properly within
cruisecontrolrb.
My cruise task is in lib/tasks/my_project.rake, and looks like this:
task :cruise => [''db:test:purge'', ''db:migrate'', ''db:test:prepare'',
''test:coverage:clean'', ''test:coverage:prepare'',
2007 Feb 20
4
Best way to implement syntax sugar?
Hi!
I''m *very* new to rails, I just dove in about a month ago and I''m
loving it.
One thing I decided I immediately wanted to do, was shorten the
number of keystrokes neccessary to URI, HTML, or Jscript encode something.
The project I''ve come into already has helpers defined for this.
Right now, what I''ve done is:
alias h! string_esacpe_html
alias u!
2001 Nov 03
1
getting ext3 on suse-7.3? (long post)
greetings.
i have been three days now trying to add ext3 to an existing suse-7.3
machine. i am using suse's own 2.4.13 kernel source.
here is what i have done:
following install, i ran tune2fs -j /dev/hda2 (also hda3 and hda4).
.journal files were created on each partition, apparently
uneventfully. wishing to avoid ai irreversable situation, i initially
edited /etc/fstab thusly:
2006 Mar 01
5
single transaction migrations
Hi!
It seems that migration doesn''t use single transcation to execute the
needed migrations for the database upgrade, so if I have database at
version 5, and I wrote some migrations 6..10, and error occurs while
executing migration 7, the database stays in state 6?
I also think that migration taks could use some more verbosity, for
example if migration fails, there''s no
2007 Apr 12
7
Looking for a good disk exerciser
I recently added a Seagate 400Gb SATA drive to my system, and it has been
behaving strangely since I put it in. for one thing, the BIOS S.M.A.R.T.
came up with a warning the last time I booted with it enabled, saying that I
should backup my data and replace the disk (!).
I still have not made any irreversible data transfers to this drive, and I
have some time yet to take it back, but I'd
2015 Jun 17
8
[Bug 11338] New: Rsync Crash - Segmentation fault
https://bugzilla.samba.org/show_bug.cgi?id=11338
Bug ID: 11338
Summary: Rsync Crash - Segmentation fault
Product: rsync
Version: 3.1.1
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter:
2016 Mar 23
3
Need help with code generation
On Tue, Mar 22, 2016 at 10:33 PM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
> On Tue, Mar 22, 2016 at 1:29 PM, Rui Ueyama <ruiu at google.com> wrote:
>
>> On Tue, Mar 22, 2016 at 9:19 PM, David Blaikie <dblaikie at gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Tue, Mar 22, 2016 at 1:15 PM, Rui Ueyama <ruiu at
2016 Mar 23
0
Need help with code generation
On Wed, Mar 23, 2016 at 3:52 AM, Rui Ueyama <ruiu at google.com> wrote:
> On Tue, Mar 22, 2016 at 10:33 PM, David Blaikie <dblaikie at gmail.com>
> wrote:
>
>>
>>
>> On Tue, Mar 22, 2016 at 1:29 PM, Rui Ueyama <ruiu at google.com> wrote:
>>
>>> On Tue, Mar 22, 2016 at 9:19 PM, David Blaikie <dblaikie at gmail.com>
>>>
2010 Feb 05
4
Compressing Maildir mails on delivery
Now supported by v2.0. Also as a patch to v1.2:
http://dovecot.org/patches/1.2/zlib-compress.diff
I'm not really sure if I should commit it to v1.2 code tree. The code
contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be
feature complete..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
2013 Apr 16
7
[Bug 9798] New: rsync crash with SIGSEGV when read time out happens
https://bugzilla.samba.org/show_bug.cgi?id=9798
Summary: rsync crash with SIGSEGV when read time out happens
Product: rsync
Version: 3.0.2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: vijunag at
2016 Oct 28
0
Understanding and Cleaning Up Machine Instruction Bundles
On 10/27/2016 4:33 PM, Matthias Braun via llvm-dev wrote:
>
> In fact I am not sure why you would even wait with the finalization and do it
> in a separate pass rather than doing it immediately after forming the bundle.
> Using the pass today does not even work as the MachineVerifier will reject the
> intermediate unfinalized state (missing internal read markers). I'd suggest to
2008 Apr 13
4
Replay-gain
Hello everyone, I'm new to this flac thing (started about a week ago) but I have read a lot about flac and replaygain. As far as I understand it, replaygain is lossless in the sense that I can tell my player to ignore the settings or I can even use foobar2000 to remove the tags entirely, hence getting back to the original audio.
If that is the case, why is there a warning in the foobar2000
2004 Nov 17
1
Re: variations on the theme of survSplit
Danardono <daodao99 at student.umu.se> wrote:
>
> While waiting for 2.1, for those who need function[s] for this
> survival-splitting business, as I do, this 'survcut' function below
> might be helpful.
> It is not an elegant nor efficient function but it works, at least for
> some examples below.
>
Ditto the following, for the case where there are multiple
2018 Dec 04
2
MatchLoadCombine(): handling for vectorized loop.
Hi Eli,
On 2018-12-04 00:37, Friedman, Eli wrote:
> On 12/3/2018 8:20 AM, Jonas Paulsson wrote:
>> Hi,
>>
>> I have noticed some loops that build a wider element by loading small
>> elements, zero-extending them, shifting them (with different amounts)
>> to then 'or' them all together. They are either equivalent of a wider
>> load, or to that of a
2013 Dec 06
1
[LLVMdev] [RFC] CGContext skeleton implementation
On Thu, Dec 5, 2013 at 7:36 PM, Andrew Trick <atrick at apple.com> wrote:
> It might nice if scalaropts did not need to link against libTarget—we
> could easily avoid introducing more dependence on libTarget if that’s a
> goal.
>
We already have that state today in the overwhelming majority of the cases.
The pass manager built by the PassManagerBuilder doesn't need a target
2008 Apr 15
0
Replay-gain
On Sun, Apr 13, 2008 at 02:10:51AM -0500, Charles Velasquez wrote:
> If that is the case, why is there a warning in the foobar2000
> converter dialogue box stating that "applying ReplayGain adjustment
> during conversion will irreversibly alter data in encoded file,
> unlike ReplayGain scan after encode"?
ReplayGain, as the name implies, works by calculating a scaling-factor
2020 Apr 08
2
Questions about vscale
On Wed, 8 Apr 2020 at 04:23, Kai Wang <kai.wang at sifive.com> wrote:
> If we apply the type system pointed out by Renato, is the vector type <vscale x 1 x i16> legal? If we decide that <vscale x 1 x i16> is a fundamentally impossible type, does it contrary to the philosophy of LLVM IR as reasonably target-independent IR? I do not get the point of your argument.
Hi Kai,
2020 Jan 15
2
[PITCH] Improvements to LLVM Decision Making
On 01/15, James Henderson via llvm-dev wrote:
> One other thought: any formal review period needs to be long enough for
> people to contribute to if they have any annual leave from work or
> whatever. For example, if the review period were to be set to two weeks,
> I'd have missed proposals made at the start of roughly 2-3 different 2 week
> periods last year. It would have been