Displaying 20 results from an estimated 11000 matches similar to: "Multiple Undo History"
2006 Mar 10
10
Textmate Rails Plugin Cheat Sheet
I''m a slow learner when it come to shortcuts and i got real tired
looking up Textmate''s Rails snippets & commands in the context menu.
So i fired up trusty OmniGraffle and quickly created a little Cheat
Sheet for all default snippets/macros/commands in Textmate''s current
Rails Bundle. Certainly helped me to remember these quickly. So, if
you''re
2006 Feb 28
5
rake appdoc errors
when running rake rake appdoc (os x 10.4) i get the following error:
unrecognized option `--line-numbers --inline-source''
any ideas?
sebastian
2006 Mar 01
2
error: uninitialized constant
total rails nuby here. I have a table "thumbnails", hence the model
Thumbnail. I''m extending the Thumbnail class with a few constants
needed for thumbnail cropping:
class Thumbnail < ActiveRecord::Base
SOURCE_FILE_PATH = "path/to/source"
TARGET_FILE_PATH = "path/to/target"
TARGET_WIDTH = 100
TARGET_HEIGHT = 100
end
Now, in my controller
2007 Dec 03
2
attachment_fu 'replace' method?
Is there a ''replace'' method or similar for attchment_fu?
For instance, I have an image that is uploaded and stored. Now I want
to replace it with a different image.
I do not want to do a delete and then new - since I need to keep
various attributes associated with the previous image.
thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message
2007 Mar 09
1
in after_update, possible to see previous value of record?
I have this situation where in an after_update, I would like to know
the previous value of the record instead of simply being notified the
record has been updated.
For example let''s say I had a table called ''foo'' which had a field
''new_flag''. I want to know when the ''new_flag'' field changes from 0 --
> 1 in an after_update so I
2006 Mar 03
5
avoiding nil object error?
I''m a total Rails newbie and i''ve been struggling for hours today
with one (prolly very silly) problem:
I have a table portfolios that has many images:
class Portfolio < ActiveRecord::Base
has_many :images
end
class Image < ActiveRecord::Base
belongs_to :portfolios
end
In the controller i define a list of active portfolios:
@active_portfolios =
2006 Jan 16
2
recording updates
I''ve been searching around trying to find out if there is some way to attach
something to an ActiveRecord class such that every time an update is called,
a record of that update (which fields, when) is created. I think it would be
useful for syncing information with external services I think.
Questions:
If there is a wealth of knowledge on this, what search terms will lead me in
the
2006 Mar 05
7
whatever happend to unobtrusive javascript in Rails ?
Don''t get me wrong, JavaScript/Ajax helpers in Rails are a huge
timesaver and they have helped me to finally overcome my irrational
aversion to js libraries like prototype and such. However, all this
goodness seems to come at quiet a price. The resulting code is
littered with inline JS, including ubiquitous script tags and onload
attributes etc.. It seems that just when i found
2006 Jul 13
8
(OS X) Address binding still exists after terminating session
[using mongrel-0.3.13.4 pre-release, OX 10.4.7]
I have a slightly annoying issue under OS X: If i terminate the
session that ran the mongrel process (by closing terminal window --
hey, it happens!), subsequent attempts to start mongrel give me the
following error:
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/
tcphack.rb:12:in `initialize_without_backlog'':
2006 Mar 05
4
Ruby Based "Mint"?
I remember some time ago there was a post that contained a link to a
Ruby based product similar to Mint for webstats that was in early
development. For the life of me I cannot find the link in the usual
places.
Anyone have a link?
Thanks,
-S
2006 Mar 09
11
syncPEOPLE on Rails TextMate Bundle 1.0 & Screencast
The 1.0 version of our bundle is now available for download, along
with a 10 minute demonstration of it in use. See http://
syncpeople.com/downloads.
== What is syncPEOPLE on Rails? ==
syncPEOPLE on Rails is a bundle of snippets, macros and commands for
TextMate that make Rails development on the Mac even easier.
Generate scaffolds, migrations, models and controllers from inside
the
2006 Feb 26
1
rails/lighttpd on os x
I''m trying to set up my Rails development app for public access on OS
X. I''m using the bundled lighttpd server. The first thing i tried to
do is simply start lighttpd on port 80. When i set "server.port = 80"
in lighttpd.conf i get the following error message after running ruby
script/server:
(network.c.265) can''t bind to port 80 Permission denied
i
2013 Oct 31
1
Undo changes from removed class (ENC)
Hey guys,
i hope someone has an idea for me. At this time im using Puppet Dashboard
as enc for a masterless puppet infrastructure.No im searching for a best
practise to undo the changes from a removed class.
Example: In the enc I´ve added the class auth::test to a node. The class
will be loaded on the next puppet apply, works fine. But now if i remove
the class from the node in the enc, how
2014 Mar 24
1
can I undo the snapshot apply of a qcow2 image
Hi all
I have a problem.
Two days ago , I used kvm-img create a snapshot of an qcow2 format image.
And today I apply the snapshot of this image.
The question is can I recovery the image to the last point .
I mean Undo this snapshot apply
--------------
lyz_pro
2014-03-24
2011 Jun 21
2
function to undo the DIFF command in ARIMA command
Hi users.
I'm new user in R.
I'm workiing with Time series and I would like to know how can I do to undo
the command DIFF(X), for exemple:
If I have the model: m=arima(X, order=c(0,1,1),
seasonal=list(order=c(0,0,1))) (note that have d=1 one difference), to find,
in the same scale, the original numbers (like one "unDiff"), after the
forecast, I need to develop some function or in
2006 Jul 24
1
Undo "script/generate model mymodel"
Is there a way to undo this? because mymodel wasn''t a model, but only a
class... :)
2009 Jun 15
1
Undo isohybrid possible?
Hi,
is it possible to undo a "isohybrid filename.iso" so you get the
original ISO back?
regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20090615/938aaf23/attachment.sig>
2006 Apr 13
2
acts_as_versioned gem
I''ve installed the acts_as_versioned gem, and it shows up as
installed when i do a "gem list"
After installing it, I set up my new model with the
"acts_as_versioned" line in its model file. I think went to run my
migration to create this table, and I got the following error:
== CreateDpslevels: migrating
================================================
--
2006 Feb 14
10
acts_as_versioned and getting authors
Hey guys and gals,
I have the following object that has acts_as_versioned:
class Note < ActiveRecord::Base
acts_as_versioned
belongs_to :user
end
The schema for my notes table is as follows:
create_table :notes, :force => true do |t|
t.column :id, :integer
t.column :noteshare_id, :integer
t.column :user_id, :integer
t.column :title, :string
2007 Sep 25
2
Thoughts about filesystem undo
Dear Btrfs people,
I saw Chris' Btrfs talk at LinuxConf.EU a few weeks ago and have since
been thinking about how I would like to use this great code once you
have done all the hard work :-)
Fine-grain filesystem undo, thanks to cheap snapshots, is what I'm
thinking about. The more I consider it the more useful I believe it
will be; here's a recent example:
# apt-get install