yeah,
look for the bundle directory in my vim repository, there are all the
plugins I use for rails development,
look for each one to know about what they do
yeah,
look for the bundle directory in my vim repository, there are all the
plugins I use for rails development,
look for each one to know about what they do
On Wed, Feb 16, 2011 at 12:57 PM, Mauro [email protected] wrote:
I believe it’s already been mentioned: jEdit (http://jedit.org/)
I leave you a link to my github vim repository, there are my
customizations
so it’ll be easier for you have a great configuration in VimWith vim I can’t open an entire directory to browse, for example if I
want to edit the files of a rails project I have to open file one by
one, instead with redcar I can open the directory and see the entire
rails project tree.
Try the NERDTree plugin – works great for this.
I have searched long and hard for a great editor in Linux as well.
I’ve tried vim, gedit (w/ gmate and rails plugins making it more like
TextMate), and jEdit. I’ve also used IDE’s like Eclipse, Netbeans, and
Aptana. However, I keep coming back to Komodo Edit. It’s free, it
has a side-pane, like you requested, and a fair amount of plugins if
you need them. I set up several aliases to run Komodo from the
command line and open working directories.
As my own preference, and because I have multiple monitors, I like to
use a terminal-multiplexer (tmux) inside of a drop-down terminal
(guake) on one monitor. Then on the other, I have my editor, Komodo
Edit. I’ve found this setup more comfortable than using an IDE.
If I’m a low power machine w/ a single monitor, like a laptop, then I
tend to rely on gedit + gmate/rails plugins alongside the same drop-
down terminal + multiplexer setup.
Culley
I have the following route:
get “/places/:lat/:lng” => “api#places”
When I go to /places/1/2 it works fine
When I try to go to /places/40.728601/-73.991972 (a useful lat/lng) I
get a Routing error: No route matches
“/api/v11/places/40.728601/-73.991972”
Any suggestions on how I can get this working? I know I could put the
latlng into a query string, but it seems a little more RESTful to have
it as part of the URI.
Best Wishes,
Peter
Follow up - looks like the router is choking on the periods. Without
those it is fine.
I could just transform . into _ to have routes like
/places/40_728601/-73_991972
Any thoughts? Any better way to go about this (while using bound
parameters as opposed to query strings to keep with the spirit of
distinct, meaningful URI’s?
Best Wishes,
Peter
Begin forwarded message:
I’m using TextMate and I love itŠ Simple to use with low cost and lots
of
benefits!
From: David K. [email protected]
Reply-To: [email protected]
Date: Wed, 16 Feb 2011 13:11:20 -0600
To: [email protected]
Subject: Re: [Rails] Re: Which editor to use
On Wed, Feb 16, 2011 at 12:57 PM, Mauro [email protected] wrote:
I leave you a link to my github vim repository, there are my
customizations
so it’ll be easier for you have a great configuration in VimWith vim I can’t open an entire directory to browse, for example if I
want to edit the files of a rails project I have to open file one by
one, instead with redcar I can open the directory and see the entire
rails project tree.
Try the NERDTree plugin – works great for this.
–
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Yeah, and it is Mac only, the OP asked for a editor usable in
Ubuntu-Linux
Top posted from android
Am 16.02.2011 23:27 schrieb “Fábio Rodriguez” [email protected]:
On Wed, Feb 16, 2011 at 12:57 PM, Mauro [email protected] wrote:
On 16 February 2011 16:14, Felipe E. Castillo
[email protected] wrote:On Feb 16, 11:24 am, Hassan S. [email protected]
wrote:On Wed, Feb 16, 2011 at 5:00 AM, Arun S. [email protected]
wrote:… But if anyone knows an editor that has
tree based file viewer in itself and not as a plugin please let
me
I totally recommend you to use Vim, specially the GUI version,
one, instead with redcar I can open the directory and see the entire
[email protected]
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.–
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
On Feb 16, 2011, at 3:02 PM, Peter B. wrote:
I have the following route:
get “/places/:lat/:lng” => “api#places”
When I go to /places/1/2 it works fine
When I try to go to /places/40.728601/-73.991972 (a useful lat/lng) I get a
Routing error: No route matches “/api/v11/places/40.728601/-73.991972”Any suggestions on how I can get this working? I know I could put the latlng
into a query string, but it seems a little more RESTful to have it as part of the
URI.
Add a requirement that :lat and :lng match /[-\d.]/
-philip
I would just try every editor out there for a few days or for a week
per and find out which one works best for you.
I personally use Texmate and I like it a lot. I have used NetBeans
before and while it is great, I don’t like the fact that it’s so
resource heavy.
Hi Peter,
This works
get ‘places/:lat/:lng’ => ‘places#index’, :constraints => { :lat =>
/-?[.\d]+/, :lng => /-?[.\d]+/ }
I think it’s just that the regular expression must match the whole text,
and
you were just missing the ‘+’ at the end.
William
On Feb 16, 2011, at 6:40 PM, Philip H. wrote:
Add a requirement that :lat and :lng match /[-\d.]/
Hmmm, can’t seem to get that to work. I changed the route to:
get “/places/:lat/:lng” => “api#places” , :constraints => { :lat =>
/[-\d.]/ , :lng => /[-\d.]/ }
but still go the “no routes match”.
Best Wishes,
Peter
If you want and IDE go with RubyMine, hands down best ruby IDE ever. If
you
just want to keep it simple (sic) use vim…
+1 on RubyMine. I’ve just used it about a month now, but I like it
better than Eclipse or NetBeans.
+1 for RubyMine
Like others have said, it really depends on personal preference. I’m
coming
from a .net environment, so and IDE is a bit more familiar for me. But I
have also tried Komodo Edit, and TextMate, and have enjoyed using them
both.
Jason
On 18 February 2011 19:59, Mauro [email protected] wrote:
On 18 February 2011 19:38, jason white [email protected] wrote:
+1 for RubyMine
Rubymine is not free, I have to paid for it.
So stick to Redcar then. The OP asked “which editor is good that i can
use”, there’s was no stipulation for FOSS (hence lots of people
recommending Textmate, even though the requirement was for Ubuntu
software)
On 18 February 2011 19:38, jason white [email protected] wrote:
+1 for RubyMine
Rubymine is not free, I have to paid for it.
It is funny. The last time I followed a long thread about rails
editors, the enthusiasm seemed to be for emacs. So I installed it and
got used to it. It has some very good features, the first time I
installed it I had trouble setting up the packages I needed for rails/
haml etc. But recently when I reinstalled my system, I discovered the
package manager, which makes that very simple. The ability to have
several panes open and switch between them is really handy. Emacs
also offers support for some rails functions like migrations etc.
However, I do still struggle with remembering the key sequences.
The emphasis in this current thread seems to be towards Vim. I did
try that some time ago and never really got it set up to do
highlighting correctly, (I do use vi quite a bit for simple file
editing on my linux boxes). Mostly what I want from an editor is good
highlighting, fast response and good indenting support.
More recently, I saw Redcar mentioned and decided to give it a try.
It seems very promising. It handles highlighting well, but does lose
track quite easily. It was quite a large (although simple enough) gem
install process. It has a long start up time too, and does as
mentioned use a fair amount of resource. But as also mentioned, it is
very young, and hopefully it will continually improve. I am sticking
with it for the moment, but must say I am missing the emacs multi-pane
display. On the plus side, though the page/window presentation of
Redcar just seems cleaner.
It is a fascinating subject. I wonder what research has been done
about what is important in a development editor. To me the visual
presentation is actually quite important to help me stay focussed on
what I am doing and where I am working in the file system. It is
quite hard to actually put my finger on what makes me comfortable. I
always found Netbeans made me feel like I was ‘doing’ ruby on rails
development - it sort of created a context. But it is just too
overweight, and I was quite pleased to switch to emacs. Emacs can
also help to give a feel of context, but I found it took a bit of
effort to grasp it, and sometimes I have to stop thinking about what I
am developing to figure out a key sequence I need eg for search etc.
I suppose on reflection, for me, the most important criteria is, what
editor allows me to just focus fully on the code I am writing without
being distracted by the editor itself.
Tony
+1 RubyMine
On Fri, Feb 18, 2011 at 1:32 PM, Paul [email protected] wrote:
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
–
Head Grunt
ChickenWare.com
From concept to the internet…
866-588-7806
i like vim in linux for a number of reasons
Don’t read the thread @ Answer immediately
VIM!!1
I’ve got Vim assemblage with config and plugins(and readme) for Rails
development here
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs