Displaying 20 results from an estimated 4000 matches similar to: "[OT] Curly Quotes on a Mac"
2006 Feb 28
2
acts_as_taggable and auto_complete
I''m using the acts_as_taggable gem (who''s site has gone AWOL
apparently) and I''m wanting to make it autocomplete. I, however, am
the absolute worst JavaScript person ever, so is there anyone out
there that can point me to a tutorial or give some good starting
points? Thanks!
Kenneth
--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
2006 Nov 09
2
Focused Specs/Tests in Non-Textmate editors
Hello,
I wrote a script that runs a focused spec/test from the filename and line
number.
I bound this to an external tool in my Idea environment.
http://weblog.freeopinion.org/articles/2006/11/04/focused-unit-test-spec-script
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Sep 27
6
Locomotive 0.2.4 for Mac OS X 10.3+
I am pleased to announce the newest release of Locomotive!
http://locomotive.sourceforge.net
Mostly a bug fix release. If you are using Locomotive on 10.4 you
should definitely upgrade.
New in 0.2.4
============
* Rename application entries in status window
* Run/Restart/Stop buttons now immediately update
* Bundle choosing is fixed for Mac OS X 10.4
* Missing gem dependencies in Rails 0.13.1
2007 Mar 03
1
Ajax.Updater with evalScripts: true strips curly braces
When I return an html fragment to Ajax.Updater with evalScripts: true set,
and there is a script fragment with curly braces in it (a function
declaration or an object literal), the curly braces are getting stripped out
somehow, and leaving me with invalid JS.
I think this is the case because I put an alert in the evalScripts method
right before the "return eval(script)" and it had no
2008 Mar 04
10
Pretty story output for non-Rails project
I''m taking my first fledgling steps driving a new ruby (non-rails)
project with BDD. I''ve got a (test) story working. However, when I
run the story in TextMate (via command-r), the output is plain text.
See: http://skitch.com/georgeanderson/8grg/run-examples
How do I get the output to look pretty (formatted)?
rspec-1.1.3
OS X 10.5.2
TextMate v1.5.7 (1455)
Thanks,
/g
--
2006 Feb 21
26
Net::SMS::BulkSMS 0.1
This is the first release of a new Ruby library for the
www.bulksms.co.ukAPI which should allow simple integration of SMS
functionality into your
Ruby or Rails apps.
Sending a message is as simple as:
@service = Service.new(''username'', ''password'')
@service.send_message(''This is my message!'', ''4479123456789'')
# whats my
2006 Jul 07
2
Testing views with Hpricot
assert_tag smells bad. Hpricot smells nice (apricotty!).
Testing your views with Hpricot:
http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails-
views-with-hpricot/
Big thanks to _why for a great little library!
Feedback is appreciated. rSpec integration coming soon (hopefully!).
Cheers,
Luke Redpath
contact@lukeredpath.co.uk
-------------- next part --------------
An HTML
2006 Jun 29
2
Random routing errors in 1.1.3 with Mongrel
Since upgrading to 1.1.3 on our dev box, we''ve started to see random
routing errors with our apps running under Mongrel in production
mode. The errors seem to go away after a while but come back
everytime we restart the server. This may be a mongrel problem, it
may be a rails problem (I''ve posted a bug on the trac) and I was
wondering if anybody else had had similar
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to
install rails. I''ve installed rubygems and am typing "ruby setup.rb" in
the command line and get "No such file or directory."
I''ve never had to use command lines before so this is alien to me. Can''t
they just make installation GUI-based for non-geeks like
2006 Feb 18
4
verifying best practice
i have a Project model, which belongs_to :user
when i add a project, the users_id is based on the session[:users_id].
to get the users_id into the projects table, i''m doing this:
@project = Project.new(params[:project])
@project.users_id = session[:users_id]
this is working, i''m just verifying this is the best way to do it.
2006 Jun 05
1
Unobtrusive javascript...what if?
What if...you could produce accessible, unobtrusive javascript, using
Rails built-in javascript/prototype helpers, with just one extra line
of code in your layout, a plugin, and one small enhancement to the
helpers. Something like this:
[php]
<% form_remote_tag :controller => ''foo'', :action => ''bar'',
:unobtrusive => true %>
# which produces
2006 Feb 19
4
is "display" a reserved name of some sort?
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?
-- fxn
2006 Feb 18
4
Basic question: Where to initialize a flag?
I have found that if I initialize a flag in my controller (under def
Initialize), it appears everytime I call a controller action, the flag
is set to the initialize value (even though I''m not calling the
initialized action). Am I observing this clearly?
I don''t think I should initialize a flag in the index file. So where?
Specifically, I want to know if this action is a
2006 Feb 22
2
sudo in switchtower and security
I''m attempting to deploy a rails application using switchtower. My IT guys
are refusing to give me sudo for a user changeable script. I really can''t
argue with their logic. If I have sudo for a script that I can update, well,
I can do most anything I want.
They are suggesting I create a cgi that performs the same function. Since
the cgi would run as www-data (this is a debian
2006 Jun 29
6
Naming Convention for Controllers?
Hello!
I just read DHH''s presentation pdf.
In his examples, he wrote PeopleController instead of PersonController.
I''ve been using singular words in controller''s name.
Which is more common?
Thanks.
Sam
--
Posted via http://www.ruby-forum.com/.
2006 Mar 04
13
Using helpers from controllers ?
There is a solution to use helpers from controllers ?
I have an error :
|undefined method `content_tag''|
class ApplicationController < ActionController::Base
def test
return content_tag("a","test")
end
end
2006 Jun 07
9
Unobtrusive Javascript for Rails
I made a brief post on here the other day about this and now I can
proudly present the initial release of our unobtrusive_javascript
plugin for Rails. We''ll be working with Dan Webb of Vivabit to roll in
much of the functionality in his own as-yet unreleased
unobtrusive_javascript plugin into a single plugin.
This is essentially a preview release and probably not suitable for
use on a
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
2005 Nov 16
19
Concerns over Rails' handling of tests
Sorry if this comes across as a bunch of disjointed thoughts...I''m just
trying to put my thoughts down and I''d like to know what other people''s
opinions on the subject are.
I''ve been working with Rails for 3 or 4 months now and I''m constantly trying
to look at ways of improving my testing techniques, especially when it comes
to TDD. I have a few
2006 Jan 01
11
Can rails make use of accesskeys?
I added :accesskey=>"D" to the html options hash of my link_to tag
but nothing happened.
Should I keep trying or is this not an option yet?
bruce