search for: lunchboxsoftwar

Displaying 20 results from an estimated 20 matches for "lunchboxsoftwar".

Did you mean: lunchboxsoftware
2006 Mar 23
5
Dirt simple .rcss templates
There was some discussion on this list recently about doing .rcss templates in Rails using a custom template handler. I''ve come up with a very simple way to support rcss without a handler. Turns out all it takes is a route and an action that calls render(:file...). I put a full write-up on my blog earlier today:
2005 Oct 06
5
webrick seen only on local machine
I am running the webrick server (/script/server) and I would like to be able to view the application from any browser. However, I can only see my application from a browser opened up on the localhost. When I use any other browser it times out. I have already modified the following line in the /script/server file (I''ve tried the numeric ip address also) so that it is the real ip
2006 Feb 02
6
How do I? Same Model, Different Controllers, Different Validations?
Hi all -- The simple question is: How do I set different validations for the same Model, when accessed in different Controllers? Here''s the scenario: I have a store/cart app, with a customer-facing shopping cart, and a typical Admin side. The Admin side also has an Order Entry component, where our staff can enter orders received by fax, telephone, etc. Both the customer-facing cart
2005 Sep 19
5
switchtower beta gem?
would it be possible to get another beta gem posted for switchtower? core rails has been getting nice regular updates to the beta gems, but switchtower is still back at 1962.
2005 Oct 03
3
WriteBoard for Programmers? (code support)
Anyone think it''d be useful to make a WriteBoard type application that supported ruby, html, etc. and allowed programmers to collaborate on writing scripts or just code in general and track each others changes? Just a thought. - Jim
2005 Oct 06
3
Ruby/Rails TextMate macros
Could someone kindly send me a copy of the TextMate macros that pertain to Ruby and Rails? I am assuming they are stored in or can be exported to some kind of plain text file... Sadly I am not yet able to make the leap from Linux (and Windows) to a Mac and I am using Slickedit, which has *zero* built in support for Ruby/Rails. I can add macros and code templates so I thought it might be
2006 Apr 16
2
Making requests in order
Hello all, This is an interesting problem I have been working on. What I have is a little multiuser project request tracking application. What happens is that I log in and create projects and assign people to the projects. Each project has steps associated with it, and the steps need to be done in a certain order. Now, I have to request that the assigned person perform each of the steps, and
2006 Jul 04
3
act_as_state_machine plugin inaccessible
Seems like act_as_state_machine plugin is not accessible from http://lunchroom.lunchboxsoftware.com/articles/2006/01/21/acts-as-state-machine as this site is down and script/plugin discover is broken as it fails when trying to add plugin repositories giving the message as below; Add http://svn.northpub.com/plugins/? [Y/n] y (eval):3:in `each'': undefined method `[]'' for n...
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi, I''d like to use migrations to build my initial database. Is there a gem or plugin that will generate the migration code for initial db if I point it at a live database or sql file? If yes, then can you automatically generate the incremental migrations as well? Thanks, Jason
2006 Jan 30
1
Introduction & time_zone_select with mapped TimeZone question
....name field holding the name of a timezone, while almost all timezones are set using forms... I also had a look at the use of the TZInfo library, but it does seem likely that rails will one day support daylight savings times ?...and in that case it is wise to stick with rails...: http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails Wybo
2005 Dec 07
3
ActiveRecord::Observer problem
Hi all, I have a problem with an observer. I have a simple observer... class ActivityObserver < ActiveRecord::Observer observe Customer def after_create(model) bind_params(model) @al.action = "create" @al.save logger "#{model.id} : created" end private def bind_params(model) @al = ActivityLog.new @al.user_id = User.current.id
2006 Aug 02
10
Ruby deamon
We are building a web-based application with Ruby on Rails and MySQL backend. The client now wants us to add various workflow features that will eventually expand into SOAP web services. These workflow features include tasks such as automatically sending reminders for due tasks, or if a particular set of information hasn''t been logged by a certain time to automatically send an email
2006 Jun 22
1
Ruby & Rules Engines
Hi, is anyone aware of a planned or available rules engine which works with Ruby? Something like Drools & Java (forward chaining). Thanks for all your help -- Posted via http://www.ruby-forum.com/.
2005 Dec 13
0
Features for next webgen release [comp.lang.ruby]
...ML output > We are considering similar for Rote (but probably for plain XML mainly), as well as a similar CSS thing[1]. Maybe it could be useful in webgen...? Anyway, just some ideas... :) Cheers, Ross (p.s. Good work on Webgen - it''s excellent, so thanks :)) [1] http://lunchroom.lunchboxsoftware.com/articles/2005/08/19/rcss-anyone -- Ross Bamford - rosco at roscopeco.co.uk
2006 Mar 03
7
Workflow + Rails
Is there any project or solution for an easy integration of a WFE / WfMS into rails? I''m quite new to this topic, but I probably need a small subset of workflow patterns (or whatever the correct term is) only. Any pointers are welcome. -- Posted via http://www.ruby-forum.com/.
2007 Jul 07
4
Setting a callback whose action depends on the previous state of the object
I''ve been reading about ActiveRecord::Callbacks and they''re really cool. But I have a complex need I''m not sure they answer. Let''s say we have a User model. User has a #status attribute, which can be either "active", "closed" or "blocked". I want to set a callback to perform an action if an "active" User has been
2005 Dec 12
9
Webrick is being stupid...no info on a brand new project
I created a project, made a migration, generated scaffolding...start up webrick and I get nothing. To simplify things, I just started another project and generated a controller, still getting nothing. The index page loads fine, but nothing beyond that. If I go to anything that should give me a 404, the page is just blank. The Webrick console just says a 500 (nothing explaining why), and
2005 May 10
58
A quick straw poll
How many of you are using Rails: 1. As the primary development tool at your Day Job 2. As a small part of your Day Job 3. Not using Rails in your Day Job, but are using Ruby 4. For OS/outside work/hobby -- sam http://www.magpiebrain.com/
2007 Apr 03
1
Some timezone trouble involving tzinfo and postgresql
...that I''ve been working off of, in particular this one internet archived version of Scott Barron''s very useful article on the subject that is no longer available at the original URL that is linked to from the TZInfo page: http://web.archive.org/web/20060425190845/http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails I''m not looking to pull of anything fancy here, but I''ve ended up a bit of a stumper in which utc_to_local appears to be adjusting the UTC- stored time twice. This is what I''ve done so far: 1. Set ENV[''TZ''] = ''UTC'...
2006 Mar 05
8
workflow support in Ruby on Rails
Hello, I am relativley new to Ruby on Rails and am still in the process of enjoying the features it offers. I wanted to know if theres workflow support in rails. Can some one give me pointers if its possible. Thanks Naveen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060305/43c9abc3/attachment.html