similar to: Software to code Rails

Displaying 20 results from an estimated 1000 matches similar to: "Software to code Rails"

2006 May 27
36
Might be buying a Mac
I might be buying a Mac tomorrow. I checked out the new 13.3in MacBook at the new Apple Store on 5th ave in NYC. I''m torn between the smaller MacBook and the MacBook Pro. We have a pro at work and I''m not that thrilled with the way it feels. I like the keyboard much better on the 13inch. However, I think doing development on that small of a screen could get frustrating. Any
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 May 09
2
newbie: OSX Ruby/MySQL issue?
I''m three pages into the OnLamp RoR Tutorial [1] and am wrestling with what appears to be a MySQL connection problem. I''ve created a simple controller called "recipe" with a corresponding "recipes" mysql table. The recipe controller is just a simple scaffold. When I browse to "recipe/new", though, I get these errors: == NoMethodError in
2006 Mar 29
38
Poll: Which distro do you use for Rails/Ruby development?
Good afternoon, I''ve two quick questions for the Ruby/Rails community. 1) Do you use Linux for Ruby or Rails development? 2) If you use Linux, which distro do you normally use to develop? Thank you for your input. :-) -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
2
Automatic finder
It looks rails automatically creates a "finder" method on models that have a "belongs_to". So I tried this in the console: c = Category.find(2) chunks = Chunk.find_by_category(c) chunks is always returned as an empty array. When I know have some chunks with a category_id of 2. Should the find_by_category do what I think it should be doing or am I completely off base?
2006 May 19
37
OS for rails development: Windows vs. Mac?
Caveat: this is not a discussion about *hosting* a rails app on windows. Anyway...Macs are everywhere you look when researching rails (demo vids, tutorials, and pictures from rails training classes). I''m interested in what the pros to using a Mac for rails development are (besides textmate). Is it more of a cultural thing, a what would 37 signals do thing, is it a unix thing, or
2006 Feb 22
5
[OT] Apache rewrite stuff...
Hi all, a little off topic, but was wondering what the best way is to re-write incoming requests so that they all end up at the same domain. For example, if I had: my_domain.net my_domain.com my_domain.org Whats the best way to map/redirect all of these to www.my_domain.com ? I know its possible, just not sure what to add for rules/virtual hosts in my apache config. Thanks for the help! -Nick
2006 Jun 21
1
Adding routes via plugins
Hi, I''m attempting to add a route via a plugin. I attempted to add the following to my init.rb: myroute = ActionController::Routing::Routes.connect "boo2", :controller=>''plugin'', :action=>''index'' puts "path=#{myroute.path}" myroute.options.keys.each do |k| puts "#{k}=#{myroute.options[k]}" end The newly
2006 Apr 12
2
Tracking page hits
Hello all, I am developing an online store and would like to keep track of how many times each product was viewed. While I can keep track of page hits using something like webalizer, this won''t really work (I don''t think) as the pages are not going to be static. Has anyone else implemented this and if so could you please point me in the right direction. A potential solution
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
Hi, I''m struggling to get an Apache rewrite rule to work. I have a simple rule that for a request to "a.html" will be sent to "b.html". However the requests for "a.html" are always sent to my Rails apps. Here is my Apache configuration: <VirtualHost 216.154.219.19:80> <Directory /u/apps/simplelog_2.0.2/public/> Options FollowSymLinks
2006 Jun 06
5
[OT] O''Reilly Cookbooks
Hi, Has anyone gotten the "roughcuts" of the Ruby and Rails cookbooks? If you have the Pragmattic Rails Cookbook is the O''Reilly worth it? Also can you download PDF''s of their "roughcuts". The website is kind of vague, it just mentions online access (whatever that means). Thanks in advance.
2006 Mar 16
8
Question on gems on Mac OSX
Hi all, lately I''ve been working with ROR on a MAC OSX tiger at work, however I have one huge problem with seems to be the root of all my problems whenever I use terminal or iTerm to start workign with ROR. Every single time I open a new terminal window or close one and open a new one, I have to reapply my path from .bash_login for Ruby and MySql, and than I have to install the
2006 May 10
1
Rails Plugin Directory - Comments
The directory of Rails plugins at http://www.agilewebdevelopment.com/ plugins/ now has support for adding comments to plugins, so stop by and leave a kind word about your favorite plugin. :) A feed for plugin comments is available at http:// feeds.feedburner.com/RubyOnRailsPluginComments, while the plugin feed itself is available at http://feeds.feedburner.com/RubyOnRailsPlugins. --
2006 Jun 24
2
using flickr.rb
Does anyone have any experience with using flickr.rb? Seems the only thing which is documented for it is searching through your photos. Anyway, all I''m trying to do is return a list of my 20 most recent photos, but nothing seems to work. doing this returns 100 photos for a given user (which takes all day to load) @flickr = Flickr.new ''API KEY'' @user =
2006 May 29
4
Time-based cache fragment expiration
Hello, I''m trying to figure out how I could implement fragment caching that expires every x amount of time. I thought of writing a runner script that would expire the cache and set it as a cron job, but that doesn''t really work because runner scripts act on models and not controllers. Does anybody have any ideas? Regards, -carl
2005 Dec 22
2
Pretty Log Output on OS X
Howdy, I am using Apple''s Terminal and Rails 1.0 on Tiger. I am tailing my log files and it seems with one of these updates things changed a little. I see all these ''ESC'' codes all over. How can I make the output prettier? I''d rather not move to iTerm, not one of my faves. Cheers.
2011 Apr 08
3
Rails Tutorials
Hi, I''ve begun watching the rails tutorials video, and have downloaded the iterm application. I did a search for GIT (git-1.7.4.1-x86_64-leopard.dmg<http://code.google.com/p/git-osx-installer/downloads/detail?name=git-1.7.4.1-x86_64-leopard.dmg&can=3&q=> ), and downloaded it the way it was suggested. After endlessy trying for an hour to follow the tutorial, I can not
2006 Jan 27
59
Why Macs instead of AMD or Intel ? Just curious
My first computer was a Mac (SE30) but it was also my last so I am not without appreciation of Apples wonderful aptitude for design. Without starting a flame-fest why do so many ruby and rails developers use a Mac ? It seems to be a commonality within the ruby and RoR community. Especially laptops. The first ruby users group meeting I attended was about 50% Macs (or so it seemed to me - I
2006 May 08
6
how to make field in model immutable after create
Hello everyone! I want to have login field in User model which is set only once (on create), and then it should fail validation if the value is changed. How can I do this? I dig around for validation and tried def after_validation_on_update unless User.find_by_login(:login) errors.add(:login, "is immutable. You can''t change it") end end in model, but somewhat it
2006 May 01
4
URL encoding in Rails?
Simple question: How does one do URL encoding in Ruby/Rails? Thanks, Wes -- Posted via http://www.ruby-forum.com/.