Displaying 20 results from an estimated 22 matches for "justinforder".
2006 Apr 10
6
Object isn''t being saved when called through association
I have three models in this small game I''m working on - the Game,
Players, and Turns. A Player should be able to rescue another Player
on any given turn. So it looks like this:
class Game
has_many :players
has_many :turns
def rescue_player(p)
t = turns.last
t.rescued = p
t.save
end
end
class Turn
belongs_to :rescued, :foreign_key =>
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in
Vancouver for the mini-workshop I did on the 27th last month, I am making
available the 30 slides I used for the presentation.
The slides were used in conjunction with me demonstrating it via command
line. Alot was learned by both attendees, and quite possibly even more so by
myself while teaching the material.
I created
2005 Oct 16
13
More than one parameter with link_to_remote
Hi all,
I''m trying to pass more than one parameters using link_to_remote, but I''m
getting a behaviour that seems quite strange to me. Here''s the code:
link_to_remote ''some text'',
:update => ''form'',
:method => ''get'',
:url => { :action =>
2006 Jan 06
7
Question
All,
I am looking to write an ecommerce application and debating using
rails or struts. Any advice as to which path to follow.
2006 Aug 04
9
Mongril or Lighthttttp? Yes
I was writing my blob at http://railsblob.blogspot.com/ which is for new
people who are new to Rubby and I was learning if Mongril or
Lighthttttp? or Web Rick is better for me. Have you any advice. Thanks?
Rails Blobber
--
Posted via http://www.ruby-forum.com/.
2006 Feb 14
22
Teaching Models to Render Themselves in the Controller
I am trying to teach my models how to render themselves, i.e.
<%= my_model_object.render() %>
Let me explain my reasoning and proposed method before this gets shot
down as anti-MVC.
Let''s say I am writing a contact-management application. I have a
class Contact. I will need to display this class all over the
application. My first choice is to use a partial.
Now I can
2006 Jun 30
2
Development of RailsCron
Hi,
Is the development of Rails Cron still active? most of the blog articles
about it are unavailable and it hasn''t been updated for a long time.
--
Abdur-Rahman Advany
http://blog.railsdevelopment.com/
2006 Mar 24
3
Tweaking Rails to Reduce RAM Usage
Is there a way to tweak rails 1.0 or 1.1-rc1 to use less RAM?
I''m using a VPS (Linux UML) with < 160 MB RAM and would like to explore
ways to make rails run more efficiently under such constraints.
Are there articles/tips about this or do I need to look into this from
scratch?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 15
9
DHH''s dislike of high level components
On 1/5/06, David Heinemeier Hansson wrote:
>
> The lure of components is directly proportional with the pain of development.
I''m not trying to be abrasive in any way but I''m curious if this
attitude is related to the number of rails apps David maintains. No I
don''t know how many login systems David maintains. I can understand
avoiding components if a person only
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1
install running correctly?
My site has been down since last night at about 7:00 pm (I think).
It''s annoying, and are a lot of others having this problem too?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 09
13
Apache or lighttp for Ror/2003server?
160,000 pages
99% static, only minor stuff done in rail (search, contact us, etc.)
windows server 2003
Ror 1.0
Currently 30K Hits /day on IIS.
Apache or Lighttp? Fast_CGI seems kinda slow with a 2003/Apache
configuration.
The only thing I''ll get rid of for sure is IIS.
-Cedric
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
7
Enterprise rails app with - about 100 tables
I''ve just started creating a web application with approx. 100 tables.
Possibly more. Oracle is the DB. There exists a legacy schema I that i
will use some of.
So far i have created a small bit of the app, approx 10 tables.
Im using webrick on my local machine. The Oracle DB is on its own
server.
My boss has noticed that its not really that zippy, there is a small
delay between
2006 Mar 30
15
Rails 1.1 ~ Kick Ass
4 Rail Environments Upgraded. 0 Problems. Great work everyone, I
really appreciate it.
~ Ben
--
Ben Reubenstein
http://www.benr75.com
2006 Mar 26
5
How to write manage created_on and created_by via mixin?
Hi!
Definite newbie here - I''m working through this like-hate relationship with
Ruby and Rails right now... sometimes things work really well (like blobs
seem to rock) but other times, I dunno! :-)
Anyway, I''d like put in create and update user timestamps on all my primary
domain tables and allow them to be updated automatically by ActiveRecord.
Coming from Hibernate, I just
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book.
The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application.
For instance, it will be great to see how one can implement the typo blog
2006 Mar 03
19
Dreamhost rating?
Hi, I''m looking at getting some hosting to support RoR development. Thus,
how would you rate Dream Host?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/91b84488/attachment.html
2006 Feb 27
15
Webrick in production?
Would you bother to setup a fastcgi for a "intranet accessible" application
that is like to get < 100 hits a day?
David
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap
my head around creating custom classes in my rails webapp. I''m
normally a Java developer, but I figured I''d give RoR a try and see
how I like it, and whether it would be useful for production use with
a new client.
Anyways, what are the best practices for custom classes? Where and/or
how do I create
2006 Jan 12
24
The Guilt List
I''m not a paid developer, but I still feel guilty. I thought it might
be entertaining to have a little "programmer confession." So let''s hear
an answer to this simple question:
What makes you guilty about your Rails development?
Mine is a bad one: I don''t write tests. I understand that TDD makes
sense, but I just don''t do it. I''ve