similar to: All My Rails Apps Died Over the Holidays

Displaying 20 results from an estimated 10000 matches similar to: "All My Rails Apps Died Over the Holidays"

2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved so far? I would like to use ferret and acts_as_ferret on Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected
2006 Jun 17
4
Textmate Madness
Has anyone come across this problem... I created some Ruby files in Textmate on my Mac - and everything works fine. However, when I run those files on a Windows machine I get e.g. compile error ./script/../config/../app/views/station/consumption/new.rhtml:2: Invalid char `\002'' in expression ./script/../config/../app/views/station/consumption/new.rhtml:4: parse error, unexpected
2006 Apr 25
16
case statements in views...strange error on OSX
I have a simple case statement in one of my views. This works fine on my windows machine. Move to the mac and I get: "parse error, unexpected tIDENTIFIER, expecting kWHEN". I have not changed anything but cannot resolve the issue. my view has this in it (simplified for test) <% case controller.controller_name -%> <% when "accounts" -%> <h3>worked
2006 Apr 08
5
Strange error ...
I''m getting a very strange error in a very vanilla Rails app setup: compile error ./script/../config/../app/views/home/index.rhtml:1: parse error, unexpected $, expecting kEND _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" ... ? Anyone know what this might be? I installed the Login Engine and the error started. I''m using
2006 Nov 24
6
Rails 1.2 RC1 problem
Hi Have this helper method inside a sites_helper.rb module def distritos [ ['0', 'Todos'], ['1', 'Aveiro'], ['2', 'Beja'], ['3', 'Braga'], ['4', 'Brangança'], ['5', 'Castelo Branco'], ['6', 'Coimbra'], ['7',
2006 Apr 30
6
Help, Gruff is killing me
Hi all, I hope somebody can help me out here, since the issue has been killing me for the last three days. Here is the issue: It seems that gruff kills rails/webrick whenever it''s used on win32. I installed gruff per instructions and it seems to be working. The sample controller generates a nice grpah with send_data and all. The issue started once I try to use any other
2007 May 28
2
helper with block compile error
HI, i''m trying to write a helper that replaces link_to_remote that accepts a block but it gets a compile error in the template: I don''t know what I''m doing wrong... TIA # application_helper.rb def link_block_to_remote( options = {}, html_options = {}, &block) concat(link_to_remote(capture(&block), options, html_options), block.binding) end # in
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
Hi all, First off, we''re running Puppet 2.7.6 with Ruby 1.8.7 on CentOS 6.0. Now, I''m using tildes in a template to prevent newlines from appearing but ruby/puppet is choking on them. */tmp/puppet$ cat test.erb* Line 1: Line 2 will exist if running on CentOS. <% if operatingsystem == "CentOS" ~%> Line 2: Yay, we''re running CentOS. <% end ~%>
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
2008 Nov 22
4
"syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response
I get a "syntax error, unexpected tIDENTIFIER, expecting kEND" when the following RJS template is rendered: page.insert_html :bottom, :requisite_table, :partial => "insert_jobrequisite_select", :locals => {:job => @job, :counter => @counter} page.alert("hi") The same RJS template is rendered without errors as soon as the rjs file has only one single
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 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
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 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
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 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 Jan 27
4
find.collect problem.
Hi all. I am trying to populate a dropdown based on two values. def self.clientref( reference ) @bugclientrefs = self.find_all(["bug_id = ?", reference]).collect {|b| [ b.client_id.strip << " - " << b.client_ref.strip ]} end This works fine. However this returns the reference to the client. I want the full name using this function. class Bugclient <
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 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1] == What is bundled_resource? == If your development is in any way similar to mine, there are a number of useful resources out there that make web applications shine beautifully. For example, there?s the Dynarch calendar and the textarea tools. There are a number of others?too many, in fact. The problem is that as a web developer,