similar to: New Router blog post

Displaying 20 results from an estimated 20000 matches similar to: "New Router blog post"

2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding running merb from SVN: http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html In a merb application, is there something comparable to having rails in the vendor/ folder of a rails app? Thanks, Duane Johnson (canadaduane)
2007 Aug 29
1
What makes Rails'' routes non-thread-safe?
I was reading here and there about the differences between Merb and Rails [1] and became curious about statements such as this: > It is threadsafe with configurable Mutex Locks (Routing is also > threadsafe) Having mucked with the routes system, I had this awful feeling that I don''t understand threading well enough to know if my contribution is "thread safe".
2007 Aug 31
2
New routing system has specs and examples
Check it out here: http://pastie.textmate.org/92610 Let me know if you have any questions. Duane Johnson (canadaduane) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070830/c808d045/attachment.html
2007 Aug 06
2
Proposal: Pure Regex Router
So this has been an idea ever since Rails came out. Why not use a pure regular expression router in similar fashion to gsub? I imagine it working something like this: Merb::Router.prepare do |r| r.add %r[^/(.*)/(.*)/(\d+)$], :controller => ''\1'', :action => ''\2'', :id => ''\3'' r.add %r[^/user-(\d+)$], :user_id =>
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 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 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 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 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 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 Feb 19
0
TextMate Backtracer v.1.1
== Announcement == http://blog.inquirylabs.com/2006/02/18/textmate-backtracer-11/ == Changes == The textmate backtracer plugin, with the insight of Jonathan Weiss, now detects whether or not the server is a Mac system. With this additional check, it''s less likely that non-Mac users will be troubled by the plugin. == What is it? == Whenever a Rails exception occurs, it spits out a
2006 Feb 27
0
TextMate: Rails Bundle 1.0 RC 4
Just trying to work out any bugs and other issues in this release candidate series. Thanks to everyone who''s participated so far. == Find out More http://blog.inquirylabs.com/2006/02/27/rails-bundle-rc4-samis- snippets-my-fixes/ http://blog.inquirylabs.com/category/textmate/ == Download http://inquirylabs.com/downloads/syncPeople%20on%20Rails%201.0%20RC4.dmg Duane Johnson
2007 Sep 17
2
Why do we check for the controller file?
I remember having this discussion on IRC before, so Ezra if you could remind me that would be appreciated: Why do we check for the existence of the controller file in (what is now) Request#controller_class? The reason I ask is that I would like to implement some sort of "Rails engine" like features for gem plugins--in other words, drop in a gem that has controllers/views etc.
2006 Jan 07
0
BundledResource plugin (0.7)
Hot on the heels of my previous announcement, there is now a bundled_resource plugin that takes advantage of all of my previous work at syncPEOPLE (http://syncpeople.com) in the area of resource management during Rails development, plus some. Use the Dynarch Calendar, the resizable/wordcount textarea tools, and the qForms scripts without the pain. More resource bundles to come,
2006 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? == Family Connection is an easy-to-setup online hub for your family that includes a Family News section with Photos, and an Address Book. For more information, visit http://familyconnect.rubyforge.org/ == Downloads == Latest: svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk Version 1.1.2: svn checkout
2006 Jan 10
2
Is there a best practice in dealing with javascript dependencies?
As I''ve begun to work with several javascript libraries out there, I''ve run in to some dependency issues that must have been solved by others before. For example, I''m trying to implement the jstree library from Laurie Harper in to BundledResource. Breaking the ''jstree'' javascript from the sample html out in to its own file caused it to fail
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com. A friend of mine recently expressed interest in this code snippet, so I thought I''d send it out to anyone else who''s interested. This module makes it a lot easier to ''require'' javascript and cascading stylesheet dependencies inside your views or controllers. By
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,
2006 Feb 19
0
syncPeople on Rails TextMate Bundle
The "Controller to View and Back Again" announcement was cool, but wait till you see this: http://blog.inquirylabs.com/2006/02/18/the-syncpeople-on-rails-bundle- for-textmate/ Installation is *much* easier, and the features are even cooler. ;) Duane Johnson (canadaduane) http://blog.inquirylabs.com/