Displaying 20 results from an estimated 4000 matches similar to: "New routing system has specs and examples"
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 11
9
Textmate Backtracer 1.0
Originally posted at http://blog.inquirylabs.com/2006/02/11/textmate-
backtracer-10/
== Announcing Version 1.0 ==
The backtracer has been around for a while now, and seems to have
done its job well enough to deserve a 1.0 mark.
== What Is It? ==
Whenever a Rails exception occurs, it spits out a backtrace full of
filenames and line numbers. I?ve often thought, ?Wouldn?t it be nice
if I
2006 Apr 26
2
MASC = A New Way to Use Textmate Snippets
Just thought I''d announce this on the Rails list since I know several
of you use Textmate: there''s a new feature I''m calling "Multiple
Arbitrary Simultaneous Carets" or MASC for short, which is available
in my personal TM bundle. It''s been handy enough for me that I
thought others might enjoy it.
2006 Apr 27
5
ColumnComments Plugin
Here?s a small plugin that may be useful for documenting your
database. Based on Dave Thomas?s AnnotateModels plugin, this plugin
goes one step further and allows you to store comments on each column
in the database (MySQL only).
Full write-up at: http://blog.inquirylabs.com/2006/04/27/
columncomments-rails-plugin
Subversion at: svn://syncid.textdriven.com/svn/opensource/
2006 Feb 19
3
"syncPeople on Rails" Bundle 0.7 Released
This has been such a fun project. Couldn''t keep myself away:
http://blog.inquirylabs.com/2006/02/19/syncpeople-on-rails-07/
== Summary ==
Easily navigate between ActionMailer models, views, partials,
controllers, helpers, javascripts and stylesheets with a single key
(keypad ''enter'') in TextMate. This release also adds an Enhanced
TODO List (ctrl-shift-t) and
2006 Feb 25
1
TextMate: syncPEOPLE on Rails Bundle Becomes Built-in Rails Bundle
It?s official, folks!
After talking with my partner, Greg Narain, as well as Allan Odgaard,
the creator of TextMate, we (syncPEOPLE) have decided to release our
Rails bundle under the MIT license so that it can nest itself nicely
within its new home, the TextMate Subversion Bundle Repository.
What this means for the rest of us is that all of these great
features we?ve been madly
2006 Feb 18
3
Controller to View and Back Again (TextMate shortcut)
One of the most inconvenient things about the Rails directory
structure is the relative distance between the controller and its
corresponding view files. While it?s organizationally sound, it?s
often a pain to go hunting for a view (especially in a complicated
application that has modules and modules within modules).
I discovered a fantastic little key-combo within TextMate the other
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
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
IE6 and IE7 are not correctly handling the ''throw'' command for
functions attached to Element via Element.addMethods. Firefox and
Safari are fine.
See the example below.
For IE6: functions called with no attributes (ie: funcName())
correctly handle thrown errors. Funcions called with attributes (ie:
funcName("foo")) will respond to the throw command and pass execution
2005 Dec 19
15
OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
OpenSSL::SSL::SSLError: SSL_CTX_new:: library has no ciphers
This error is thrown whenever I use anything that uses Net::HTTP. OS X
Tiger, ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.1]
What could it mean?
Joshua Sierles
2006 Jan 03
14
Family Connection 0.9
Family Connection is an easy-to-setup online hub for your family that
includes a Family News section, and an Address Book. Currently,
there is no documentation on installing the Rails application itself
(hence the 0.9 version number).
Once installed, Family Connection guides the family website
administrator through a simple two-page setup process. The web
application restricts access
2005 Dec 15
4
Acts_as_tree and routing
I''ve got an acts_as_tree structure which I want to be able to represent
in the URL, with one field identified as the url component. In other
words, if I''ve got this:
def self.up
create_table :nodes do |t|
t.column :parent_id, :integer
t.column :tag, :string
end
end
and
class Node < ActiveRecord::Base
acts_as_tree
end
and what I want the urls to be is something
2005 Dec 31
4
How might I use file_column for incoming email attachments?
I''m writing a ''Mailman'' model that catches emails sent to my
application (kind of like backpack, I think). The trouble is that
I''d like to save image attachments in the same was that file_column
saves them--in fact, I''d really like to use a simple assignment like
photo.image = attachment to save the image in its proper place.
However,
2007 Sep 05
5
Reloading ??
All,
So I got passed my initial hurdles with merb 0.4. And all seems to work
very nicely.
Thank you all for your help !
One thing though, why should I have to bounce the merb server when I
change
my controller or associated classes ? Am I missing something ?
I am having flash back to my java days where I now have to reflect on
what changed
and bounce the server accordingly...
2006 May 24
10
[ADV] Announcing FamilyAnywhere.com
Hello Railers,
At the beginning of this year, I announced Family Connection, an open
source, free, and easy-to-use family website built using our darling
web app framework, Ruby on Rails.
Now it?s available as a hosted, very easy-to-set-up web app called
Family Anywhere! It has the same Family News and Address Book
features as the original, plus a new Photo Album that lets you browse
2005 Dec 19
7
How about a forked session supervisor in dispatch.fcgi?
I was talking to a friend of mine who''s developing PHP on trax and we
came up with a solution to the ruby session file problem. I''m not
sure if this idea has come up before, so I wanted to run it by
everyone before making any code contributations and/or talking to the
Rails core about it.
It seems to me that the current situation we''re in with regard to
2006 Jan 08
10
Resource Bundle Roundup
I''ve recently made a first release of what I''m calling
"bundled_resource" which is a plugin that makes our lives *much*
easier when we need to use javascripts, stylesheets and images in
conjunction with one another to deliver a special effect or tool on
the client (browser) side. If you missed the release, read about it
on my blog at
2006 Jan 28
13
What''s the verb form of id?
Random question:
I''ve written a method for the String class that turns an arbitrary
line of text in to an identifier, e.g.:
"My, what a beautiful day!"
=> "my_what_a_beautiful_day"
"(anb*#NF(AMNV"
=> "anb_NF_AMNV"
We''ve got all these great names already like underscore, classify,
titleize and things like that. I''d
2005 Dec 16
4
Newbie Q: Controllers and lookup tables - when to initialise
Howdy Gang,
in a major controller that has many methods using the same lookup tables
for option choices and such, what is the life expectancy of the list
instances. Is it useful to set these up in the controller initialize
method - or is that utterly dumb?
Cheers,
Eric
2006 Jan 19
5
TIP: Using field_error_proc to add style attributes to form elements
I just put this up on the wiki, and thought I''d share in case it''s
useful to anyone else. This is handy if you don?t want to wrap your
input elements inside a div when an error occurs, but instead want to
add some sort of CSS style to fields with errors:
ActionView::Base.field_error_proc = Proc.new do |html_tag, instance|
msg = instance.error_message
error_style =