similar to: error on belongs_to method.

Displaying 20 results from an estimated 400 matches similar to: "error on belongs_to method."

2007 Feb 19
0
Invalid SQL generated with PostgreSQL 8.2.3
Hey, Using Ruby 1.8.5, postgres-pr-0.4.0, activerecord-1.15.2, Rails 1.2.2 and PostgreSQL 8.2.3. I''m following the O''Reilly book "Ruby on Rails", so you can tell I know precious little of what I''m doing ;-) Well, I''ve created some models, and was working through examples, and executed the following from a console: >> show = Slideshow.find 1
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
Had this error when trying to add comments to another user''s photo. ActiveRecord::StatementInvalid in User photosController#show Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0.... I did create a user_id
2009 Feb 21
1
undefined method user_id
Basically, Im trying to add comments to photos that other users have uploaded. And Ive encountered an error: NoMethodError in CommentsController#create undefined method `user_id='' for #<Comment:0x4768cd0> C:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1857:in `method_missing''
2006 Aug 12
7
Collection assignment to a has_many :through
I''m working on a simple photo gallery in rails, it seems to be a good project for a newbie. I have photos and categories, many-to-many association. It worked well with HABTM. Then I decided that it would be good to be able to change order of the photos so that thumbnail pages would look less chaotic. So I created a Layout model which is a join model (or whatever it is called) that
2006 Apr 09
1
RJS across iframes
I have an inline iframe which has a form in it, when the form is updated, I would like to call an RJS template that will update the parent page. +-----------------------------------------------+ | | | <div id="mydiv"> Update with RJS </div> | | | |
2011 Jun 27
1
import text-records and set the fields in a table
hi! I apologize in advance if this is a newbie dumm question, but I really can't figure it ou. I have lists of sumeric and character data on some URLs, which look like this: <photo id="5876248819" owner="13716719 at N04" secret="faf9bb7f52" server="5264" farm="6" title="our rose garden" ispublic="1"
2004 Nov 23
1
making winxp machine a member of the domain
Hi, I am using Samba 3.0.7. on a Red Hat 9 system. I tried to configure the machine as a PDC by using a configuration file quite similar to what is giving in the chapter 4.Windows NT domains of 'Using Samba' 2nd edition by Orielly. Using testparm shows that the machine has been identified as a PDC of the domain 'hamsateam.' To test the PDC, I tried to make a WinXP
2003 Apr 15
5
net use H: /home does not work
The latest Orielly book Using SAMBA 2nd edition says that after you have created a homes share that adding this line to your logon.bat file the user's home directory will be mapped and it will be called their user name. Well the logon.bat script gets an error on this line saying that it is not the proper use of the net use command. So instead I changed the command to net use H:
2006 May 01
0
Having trouble adding rows to an association
hi everybody, when trying to add rows to a join table i get the following error : sequence doesn''t exist here are the models used class Photo < ActiveRecord::Base has_many :endroits_photos, :dependent => true has_many :endroits_connus, :through => :endroits_photos end class EndroitsPhoto < ActiveRecord::Base belongs_to :photo belongs_to
2006 Jun 07
2
Confirm User engine clobbers active web service actions
Hello Ive been learning / implementing AWS Thanks to the wonderful pdf by orielly I was able to spot a problem with the User Engine I would like to see if anyone else has had problems with this?? Basically if you make a web service at /products You should be able to reach /product/wsdl and get a well formatted xml doc If you have a login engine on it seems
2009 Jun 11
0
Free Slideshow Maker Comparison and Brief Tutorial
People are fond of free things, maybe more obviously during recession days. Not you? Well, you could still get through this article to know about how to create slideshow for free with slideshow making software. None of them would cost you a penny. Actually they probably exist in your computer system. So, just locate and run to start slideshow making, at least to kill boring time or relive
2006 Jan 20
2
Effect.Slideshow and Ajax.Slideshow
Ok, I''m almost done programming this, although I still have to test the ajax version. Anyway, I thought I''d pass along the documentation to y''all, so you can look it over and see if there''s anything missing, or anything I should change. There''s a lot to read here, so if you aren''t interested, quit now :) Effect.Slideshow: Syntax: new
2015 Aug 03
1
unwelcome gthumb slideshow
I have a gif image in a folder. Whenever I have gthumb display it or a copy of it, gthumb goes into slideshow mode. Usually I can stop the show. It will not stop before going to the next image. but I only have a slideshow period to look at the troublemaker. If the troublemaker is last in the directory, I cannot stop the show without stopping gthumb. How do I make gthumb stop going into slideshow
2006 Jan 13
21
anyone interested in an Effect.Slideshow?
I had to make a sort of slideshow for a site I''m working on, and I was thinking of making it into a Scriptaculous object. Anyone think of reasons why I shouldn''t? You''d have to pass in all the image urls and a div id, with an optional delay parameter to determine how long to leave each image up before moving on. I could also have a ''randomize''
2009 Sep 02
1
Slideshow of uploaded images
I want to create a sort of slideshow thing in my application in which users can upload pictures to a filesystem or database (I don''t know which is better for this). Then the slideshow will show the pictures for a minute each. After a picture is shown I want it to be deleted so that it doesn''t come up in the slideshow again as users will have to pay to upload them each time. Any
2008 Dec 09
4
Slideshow with Ken-Burns Effect
Hi everybody, I've had some time and so I added a slideshow creator with the Ken-Burns-Effect to the Ogg Video Tools. Feel free to visit the following page: http://www.server.streamnik.de:88/test.html It's best viewed with the Mozilla Firefox 3.1 Beta 2, but a Cortado Player is also available for the other browsers. The code is actually not publically available, as I would like to add
2008 Dec 09
4
Slideshow with Ken-Burns Effect
Hi everybody, I've had some time and so I added a slideshow creator with the Ken-Burns-Effect to the Ogg Video Tools. Feel free to visit the following page: http://www.server.streamnik.de:88/test.html It's best viewed with the Mozilla Firefox 3.1 Beta 2, but a Cortado Player is also available for the other browsers. The code is actually not publically available, as I would like to add
2005 Apr 18
1
wine and slideshow.exe
It works. I had a slideshow on my PC made by my brother-in-law last Christmas, so I put it on my Linux PC and ran "wine slideshow" yesterday. It ran without a hitch. Well done! Wesley Parish -- Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I
2008 Mar 10
2
Create Slide Shows (PowerPoint/KeyNote-Style) Using Markdown using the Slide Show (S9) Ruby Gem
Hello, I've published a Ruby gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read. Yes, that's Markdown. (Textile is supported too ;-) You can find two samples online in Markdown: o http://slideshow.rubyforge.org/svn/samples/rest.text o
2006 Mar 08
2
RE: Slideshow
Nope, nothing new. I haven''t had time to get back to it since I last posted the code, but I might over the next few days as there''s a bit of a lull at work. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of