473,324 Members | 2,268 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

error of Unknown key(s): #<Picture:0xa4d673c>

47
i have this error .. when i try to take a value from other table. plus, in the terminal, it shows "select "users".* from users.
picture - album one-to-many relationship

Expand|Select|Wrap|Line Numbers
  1. def self.pic
  2. Picture.all(joins => :album, :select => "album.image" )
  3. end
  4.  
Expand|Select|Wrap|Line Numbers
  1.  
  2.  
Expand|Select|Wrap|Line Numbers
  1. //controller
  2.   def show
  3.        @user= User.all
  4.        @me = User.pic
  5.  
  6.   end
  7.  
Jun 10 '11 #1
0 1737

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Marek Baczek Baczyñski | last post by:
:map ,p :!python % <cr> ,p #v+ C:\COMMAND.COM /c python items.py Fatal Python error: unknown scope for super in __init__(14) in items.py symbols: {'multirandrange': 264} locals: {} globals:...
0
by: Nick | last post by:
In the last days I've found this error more and more often, but it never occured before and I didn't make any important change in the scripts (it's a CMS developed by me ant it works with no...
5
by: Larry in Honolulu | last post by:
I'm getting an error message that makes no sense to me. I have a table with a field named 'testkey' for a list of "keys" in the form of ABC10102. I have a php variable holding a specific key...
1
by: =?Utf-8?B?bWF4ZG9nMzAx?= | last post by:
XP home SP2. when I tried to reload software i am getting a error. went to the registry and tried to remove the key. get the 'error opening key'. most keys open some don't. right clicked went to...
1
by: NUKhan | last post by:
Hello Friends I uninstalled a trial program that also removed some shared files of MSACCESS. My program in VB6 with MSACCESS database stopped working. When I open a database table in MSACCESS, it...
1
by: Valli | last post by:
Hi, I have an issue with the content page('default.aspx') while executing the asp.net project. I am getting the error 1. unknown server tag 'asp.Scriptmanager' 2. unknown server tag...
20
by: vjayis | last post by:
hi when i m trying to fetch data from one page to another page using ajax, i get an error message in IE., but it runs well in firefox., could anyone help me., here is my javascript code., ...
7
by: ghjk | last post by:
I developed web application using php. But some pages display a error message. Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that...
3
nomad
by: nomad | last post by:
Hello everyone: I new to PHP and I'm reading a book on PHP Bibles 2nd edition. It has to deal with a user-rating system. There are 4 scripts to it. I'm getting an error Unknown column...
1
by: Bernard Cunanan | last post by:
Query failed with error: Unknown column 'bernard' in 'where clause' <?php session_start(); ob_start(); $host="localhost"; $user="bernard"; $pass="bernard"; $dbase="myproj";...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.