Displaying 20 results from an estimated 2000 matches similar to: "Ruby/Rails TextMate macros"
2005 Oct 06
5
webrick seen only on local machine
I am running the webrick server (/script/server) and I would like to be
able to view the application from any browser. However, I can only see
my application from a browser opened up on the localhost. When I use
any other browser it times out. I have already modified the following
line in the /script/server file (I''ve tried the numeric ip address also)
so that it is the real ip
2006 Jun 14
1
textmate help needed
I find everywhere but no clue why textmate snippet doesn''t have
support for form helpers or rails.
only (ft) snippet available. is any one know bundle that add missing
rails helper snippets.
2005 Oct 03
3
WriteBoard for Programmers? (code support)
Anyone think it''d be useful to make a WriteBoard type application
that supported ruby, html, etc. and allowed programmers to
collaborate on writing scripts or just code in general and track each
others changes? Just a thought.
- Jim
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi,
I''d like to use migrations to build my initial database. Is there a gem
or plugin that will generate the migration code for initial db if I
point it at a live database or sql file?
If yes, then can you automatically generate the incremental migrations
as well?
Thanks,
Jason
2005 Aug 31
6
Software to code Rails
Hi!
After searching the list''s history an the rails-wiki I come to the
conclusion that the subject of "which software to use for rails-coding"
isn''t disucssed and written down yet. So here is my question:
Watching a video like
http://rubyonrails.org/media/video/clips/components.mov five question come
to my mind
1. Whats the name of the commendline-software?
2. What
2005 Dec 07
3
ActiveRecord::Observer problem
Hi all,
I have a problem with an observer. I have a simple observer...
class ActivityObserver < ActiveRecord::Observer
observe Customer
def after_create(model)
bind_params(model)
@al.action = "create"
@al.save
logger "#{model.id} : created"
end
private
def bind_params(model)
@al = ActivityLog.new
@al.user_id = User.current.id
2007 Oct 03
4
TextMate language weirdness
I''m having trouble with TextMate and assigning the RSpec language to
*_spec.rb files within rails projects. Here is what is happening:
I''m in a file that has the language "Ruby on Rails" selected.
I do a ctrl-shift-down to switch to the corresponding _spec.rb file.
The _spec.rb file has the language "Ruby on Rails" selected.
I change the language to
2006 Jun 17
4
Textmate Madness
Has anyone come across this problem... I created some Ruby files in Textmate
on my Mac - and everything works fine. However, when I run those files on a
Windows machine I get e.g.
compile error
./script/../config/../app/views/station/consumption/new.rhtml:2:
Invalid char `\002'' in expression
./script/../config/../app/views/station/consumption/new.rhtml:4: parse
error, unexpected
2006 Jan 26
2
semi-on topic -- textmate question
Apologies in advance.
I have been using textmate and am getting to like it more and more.
The feature that is turning my crank and frothing my coffee right now
is "snippets". Wow! Is this ever cool! And if you aren''t using
Textmate, give it a try.
Anyhow, my snippets are saving me so much time and so utterly
wonderful that like other things in my life that are in
2007 Oct 20
3
TextMate bundle in MacroMates repo
Hi
Recently I sent a modified version of the GetBundle bundle to
textmate-dev. It was failing because the RSpec bundle was from
another repo (ie RubyForge). One of the replies said that the RSpec
bundle was now in the MacroMates repo, which it is. Is that an
officially handled thing? If so, what version of the RSpec bundle is
being maintained there - CURRENT? It''s
2007 Oct 15
1
TextMate File Type Detection for RSpec & Rails
For those of you struggling with TextMate not properly detecting
rspec files, Allan Odgaard (the author of TextMate) has kindly
provided a tutorial on how to set up TextMate to associate all .rb
files with rails and all _spec.rb files with rspec.
http://macromates.com/blog/2007/file-type-detection-rspec-rails
His instructions work great and switching between rspec and rails
files has
2007 Oct 26
3
Textmate Formatting has gone away
Hi,
I just updated my Textmate bundle to the latest in the svn because It wasn''t
working with the latest version of rspec. It''s been a while since I updated
the bundle ;)
I like the format that I used to have of a progress bar across the top and
html formatted results for each example, however now all I''m getting is
...........
passed etc etc.
How do I get the old
2007 Sep 17
3
how do I get the beautiful html rspec results in textmate?
I''m going through PeepCode RSpec Basics and he gets a beautiful rspec
results page in html when he presses a hotkey in TextMate.
I would guess it''s along the lines of Apple + R but I don''t get the same
results and I''m using the same bundle.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 07
12
what is the IDE tools used in the video?
What is the IDE tools used in the video on the homepage of the
www.rubyonrails.org?I had thought it was Komodo,however after I had
installed that i found they were different.I do think the IDE used in
the video is very cool for its autocomplete abilities especially in the
Views development.Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 17
40
Convince me to buy TextMate!
I got a Powerbook recently and am debating buying TextMate. I installed
the trial and have checked it out, but don''t see what''s so great about
it. AFAICS it''s the Ruby and Rails macros for expansion and other stuff
that might be it. Other than that, TextMate seems like a pretty basic
editor. I currently use PSPad and Editplus, and I could probably
get/make macros
2006 Sep 12
22
[ADV] James Edward Gray's TEXTMATE book now in beta
Folks:
Sorry for the commercial, but I''m excited about this one. I''ve been
using TextMate for most of my work for a year now---if you''re on a
Mac, it really is the best tool for writing Rails code. So when James
Edward Gray II offered to write a book on TextMate, I jumped at it.
James helps maintain the Ruby support in TextMate, and this knowledge
comes
2005 Sep 19
5
switchtower beta gem?
would it be possible to get another beta gem posted for switchtower?
core rails has been getting nice regular updates to the beta gems, but
switchtower is still back at 1962.
2005 Dec 29
5
Subversion graphical client?
Hi All -
I notice that most of the Rails team are using Mac OS X and TextMate for
Ruby development. I too am working on Mac OS X and trying TextMate and
(shudder?) EMacs.
I was wondering about version control. Are folks using Subversion? If
so, are they using a graphical client? Which one do they recommend?
Yours,
Jordan
--
Posted via http://www.ruby-forum.com/.
2007 Aug 27
2
Benchmarks with TextMate's manual
The following benchmarks have been obtained using the TextMate manual
as the input source:
<http://macromates.com/textmate/manual/source.tbz>
Using PHP Markdown, parsing the 24 files separately (with the
reference file appended to each of them), I get this (on an iBook G4
1.2 Ghz):
Total Avg. Min. Q1. Med. Q3. Max.
Parse Time (ms):
2007 Oct 30
7
RSpec Texmate Bundle errors
I''ve the same problem as Alastair when running rspec command :
http://lists.macromates.com/pipermail/textmate/2007-October/022585.html
../spec/mate/runner.rb:34:in `run'': undefined method `parse'' for
Spec::Runner::OptionParser:Class
I fixed this for me by changing the offending line to :
::Spec::Runner::CommandLine.run(argv, STDERR, stdout)
(see