similar to: warning: Object#id will be deprecated; use Object#object_id

Displaying 20 results from an estimated 1000 matches similar to: "warning: Object#id will be deprecated; use Object#object_id"

2006 Jan 31
5
Can''t connect ot MySQL with YourSQL
Ok, this seems silly, but I can''t connect to mysql from yoursql. I think I have all the privileges set. I can definitly connect via the command line, but not via yoursql. Any hints? mysql> show grants for ''root''@''localhost'';
2006 Jan 31
2
Production Mode
In production ( hosted in dreamhost) during migratin , I want send the users to a maintaince page. Is there any standard way of doing this. Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Powered by Typo and soon by RForum too -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 01
18
Switchtower Error
This is my deploy file set :application, "varcasa stage" set :repository, "file:///c:/svnrepo/thenali/trunk" # ============================================================================= # ROLES # ============================================================================= # You can define any number of roles, each of which contains any number of # machines. Roles might
2006 Jan 30
10
form_remote_tag and redirects
I would like to have a login box setup so that if incorrect info is submitted, the box "shakes" via Effect.Shake. If the correct information is submitted, I want to redirect to some other page. The only solution I''ve found is the following, which is pretty ugly, as it displays the javascript I''m invoking on the page prior to the redirect. Here is the code: The Form
2006 Feb 01
4
Locking out users from certain records/urls
I am using the standard login controller that ships with RoR to authenticate users in my application. In my app, Users belong to Clients, Clients have Projects that users are assigned to (stored in a stakeholder table with user_id and project_id columns) , then each project has a bunch of folders and assets (file uploads). So currently I have urls that look like /project/show/12 etc. I want
2006 Feb 03
4
Zipcode Search
Is there any package that I could use for zipcode search. I want to display schools that near a particular zipcode. I have no idea how to do this. It will be great if anyone can point me where I could find info -- Rgds, --Siva Jagadeesan http://www.varcasa.com/ Education Through Collabration -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 01
4
rails IDE
**hi I am just curious what IDE everybody uses to develop rails application. I am using eclipse with RDT and RAD plugin. But for some reason kicking debug session takes a lot of time. Do anyone experience this kind of problem? -- Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Powered by Typo and soon by RForum too -------------- next part -------------- An HTML
2006 Feb 14
3
Arranging Models
I know we could arrange controllers as modules. Can we also arrange models in modules? -- Rgds, --Siva Jagadeesan http://www.varcasa.com/ My First Rails Project. Education Through Collabration -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060214/d65f88c2/attachment.html
2006 Jan 31
2
Need advice on RoR app design
Fellow Railers, Is there anything, anywhere, that I can read that discusses overall RoR app design? I have the Agile RoR book, which is great for learning the details of RoR, but unfortunately doesn''t cover the overall issue of creating a large, complex RoR app. My staff and I are still in the process of getting up to speed on Ruby and RoR, but we also need to begin thinking about
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and really like the RoR simplicity, but my knowledge of the framework still isn''t very good (to be true, i understand the basics, but not everything that''s in the tutorials). But still I''d like to create a website which has: - front end interface (with no edit functions) - admin interface
2006 Jan 31
3
Random 502 Bad Gateway
I have moved my project to a dedicated server and I am getting a very annoying behaviour. I am able to view the site just fine when using the ip. The name is properly resolved on my computer, however I am getting "Bad Gateway The proxy server received an invalid response from an upstream server." This is simply random. The site works for several minutes, then i get this message for some
2006 Jan 31
4
Ajax and Controller actions
I am new to rails and want to learn the ''best practices'' up front. So I have a few questions and hope someone can help: 1. Using Ajax to update a div. The remote_function must call an action on a controller. This causes me two problems: 1.a The action is only ever used by the ajax call, but can now be accessed through the browser. I want ajax to call a method/action
2006 Feb 01
1
Problems with sample code from "agile webdev. w. rails"
Hello, I am veeeery new to rails and also to ruby. I have 2 books here on my desk and try to go through it. The first book is "Agile Webdevelopment with Rails" and I have trouble with the following code which I have from the book. I cant get it working. I searched a lot on google - and also on the erata pages of the book publisher but without any luck. I hope someone can help me.
2006 Feb 03
1
modifying scaffold method
I''ve made the following changes to scaffolding.rb. Is it possible to put those changes into some type of a plugin or helper or something, instead of directly modifying the Rails source? (and, btw, I think pagination should be removed from scaffolding. And deletes should only happen on post requests. That''s essentially what I''ve changed). Thanks, Joe Index:
2006 Feb 03
3
how to maintain data while using migration
hi all started using migration , gr8 stuff but how can i maintain old data , or import it alongwith schema with same easiness, as in migration we only import schema ? thanks rohit --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 02
5
access controller var within model
I need to access params[:field_name] from within my Model. @params[:field_name] isn''t working?
2006 Feb 01
2
Getting Started with Site Redesign and RoR
Hello all: I am in the process of redesigning my site and was thinking about incorporating RoR into the overall structure. However, there are multiple things I would like to create with Rails, namely a gallery, a weblog, and portfolio management system. Given that I am going to be using a lot of RoR, what is the best way to accomplish this task? Here are some random things that have come
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
2006 Jan 30
15
i18n when?
Hi all, Just wondering... Are there any plans to include i18n support in Rails anytime soon? I guess this is about the only feature I''m realy missing in Rails. Any thoughts? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html
2005 Dec 22
11
rforum engine
Here''s a question for those well-versed in rforum or engines -- or both, ideally :) I''ve spent some time today turning RForum into an engine, using rails 1.0, engines trunk, and rforum 0.1 (as rforum trunk didn''t appear to work out of the box). My rforum engine works, but only when I do two things that I found by trial and error: 1) All rforum controllers subclass