Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Related Groups
Discussion list for Ruby on Rails core development.
Low activity, 3349 members, restricted
Discussions related to deploying and hosting web applications built with Ruby on Rails.
Low activity, 1315 members, restricted
Security annoucements for Ruby on Rails.
Low activity, 2565 members, restricted
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 47721  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: The official mailing list for the Ruby on Rails project. Where Rails users come to seek help, announce projects, and discuss all kind of matters surrounding the framework and the community.
 

help decoupling models with a foreign key relationship 
  Recently started working with rails; I'm very impressed so far, but I do have a question - Say I'm running a blog-type application. I've got a Users table, and a Posts table. Each post on the blog is made by a user. The Post table has an FK user_id that keeps track of the author of the post. This is all well and good, but I've found myself doing this a lot:... more »
By robo  - Feb 9 - 1 new of 1 message    

absolute url to images from the model? 
  I have a need to pass full, absolute urls to images for an interaction with Facebook. I dont think I can use the view helpers (e.g. image_tag) from the model though... Is there a way to do this from the model (or less desirable, from the controller)? or if I cant use image_tag, is there another way to build these urls... more »
By lunaclaire  - 2:45am - 1 new of 1 message    

redirect_to(URL) and return 
  Hi.. I am using an API. In that, I have to send data in query string. Now my question is how to get back from that site??? because it is not taking return_url from myside. It gives me response. I want to again redirect to some action according to the returned value. It is not allowing me to redirecting multiple times in the same def.... more »
By Smit Shah  - 12:59am - 2 new of 2 messages    

Rails System Commad 
  Hi All, I'm having the following scenario: In my code i run the rails system command system "say xyz" Suppose this "say xyz" command runs a process for a very long period of time then I want to: 1) stop/kill that process through rails code on click of button. 2) can I determine whether the system command is running properly and... more »
By Saurabh Peshkar  - 12:37am - 3 new of 3 messages    

RangeError: 0x... is recycled object; rails-footnotes 
  I am using the GEM, rails-footnotes. Preliminary testing shos that if I have it enabled ... I get the RangeError: 0x379597a is recycled object strange message. It seems that the entire GEM directory is .rb files (except for a handful of .txt files). Has anyone see this problem with rails-footnotes?... more »
By Ralph Shnelvar  - 12:28am - 1 new of 1 message    

How to get Website Templates for a Ruby on Rails 
  Hi Guys, I am a ruby programmer and want to have a crack on building a online store website (eg.tshirt, pants, etc) using ruby on rails as it will be a known territory for me rather than learning php, etc. Anyways, I found heaps of gem like spree which will help me accomplish what I want to do on the programming side.... more »
By Ashish Deepak4  - Feb 9 - 2 new of 2 messages    

remember_me_for in authlogic 
  Hi I am new to using authlogic . My requirement is in Login page I have a check box which says "Keep me logged in for 2 weeks" . But I dont know how to implement this. I have just seen remember_me_for in the doc. But did not understand how to use it. Could anyone please give an example to use this?... more »
By Tom Mac  - Feb 9 - 5 new of 5 messages    

accepts_nested_attributes_for abilities 
  Is there a way to use accepts_nested_attributes_for to update another table from within a controller. For example, I have this in my students controller: def student_fail @student = Subject.find(params[:id]) if params[:id] @student.build_student_fail end def student_fail_finalize if @student.update_attributes params[:student]... more »
By John Merlino  - Feb 9 - 2 new of 2 messages    

DB query cache 
  Hi all I've got a problem that's been bugging me for a while now. We have a page of news article summaries with links to the full article (pretty standard sort of thing). When we create new articles in production they appear in the admin index but they don't show on the public index for some reason until after the application is restarted.... more »
By Tristan  - Feb 9 - 1 new of 1 message    

validation problems 
  Hi, there. I have two validations in the model: validates_numericality_of :value, :only_integer=>true, ...validates_size_of :value, :is=>9, :message=>"must be 5-digit number", ...They work as expected except when the :value is character/string like "a" "abc", the second validation will also output error message "must be... more »
By Ichiro Saga  - Feb 9 - 3 new of 3 messages    

1 - 10 of 47721   « Newer | Older »

XML       Send email to this group: rubyonrails-talk@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google