[Rails] Can rails even gracefully upload?

2010-01-04 Thread brianp
Sorry I really just wanted to have a title to catch attention. I've had no luck with attachment_fu. It almost works but I've failed at finding a solution to it's pitfalls. (http://groups.google.ca/group/rubyonrails-talk/browse_thread/thread/ 1101ec5b888b3020/a0418430e0b59f42?lnk=gst&q=brianp#a0418

[Rails] user and status table definition and relation

2010-01-04 Thread Tom Mac
Hi I have models user and user_status An user always elongs to a particular status at any time Status table has predefined values like "pending","approved" etc My question is what should be the table structure and relation between these models? I am trying like putting status_id in users table

[Rails] Alias_method_chain on a boolean attribute not calling ...

2010-01-04 Thread Curtis Jennings Schofield
I have the below code - I cannot use alias_method_chain unless I declare :accepted= before using it - i suppost the attribute methods are added latter - I suspect that this case is blowing away my alias_method_chain How can i complete this intention correctly, doing it the rails-way and pretty?

[Rails] Re: rake dependency error

2010-01-04 Thread William Van hevelingen
I fixed the problem by going into /usr/bin/rake and changing line 17 to just gem instead of require_gem 1 #!/usr/bin/ruby 2 # 3 # This file was generated by RubyGems. 4 # 5 # The application 'rake' is installed as part of a gem, and 6 # this file is here to faci

[Rails] Re: rake dependency error

2010-01-04 Thread William Van hevelingen
Your solution didn't work for me. Even after uninstalling all versions of rake and reinstalling. rake -v still doesn't run. > > "sudo gem uninstall rake -v 0.8.3" > > "sudo gem update rake". > > rake -v runs again, at least. > > Still wondering if there's any good way to 'downgrade' the RubyG

[Rails] Is it possible to use link_to_function to increment value onclick?

2010-01-04 Thread AlwaysCharging
Currently, I allow my users to dynamically add new fields to a form using the link_to_function variable. However, whenever a new field is added, its inputs have the same names as the previous fields. I solved this by passing in a local variable, but I can't get that value to increment (or update)

[Rails] Re: rendering partial chokes on :locals

2010-01-04 Thread Laim Bee
Frederick Cheung wrote: > On Jan 2, 5:21�pm, Laim Bee wrote: >> Frederick Cheung wrote: > >> How does Rails know when you click the Submit button, that you want to >> initiate the create method in the comments controller? > > The conventions (in particular REST) that rails uses dictate that to >

[Rails] Re: Restful routes

2010-01-04 Thread Rong
I understand. My apologies for my rudeness. On Jan 4, 7:25 pm, Marnen Laibow-Koser wrote: > Ron Green wrote: > > This is not a real app. so stuff your perversion and top posting. > > Be polite if you want help.  And if it's not a real app, then why waste > your time on it?  Presumably to learn go

Re: [Rails] should it be ext4 or ext3

2010-01-04 Thread Allan Wind
On 2010-01-05T04:48:19, Tom Mac wrote: > I am trying to setup rubyonrails with a fresh installation of > fedora linux.My question is should the partition type ext4 or ext3 for > frdora? If it is ext4 and then installing rubyonrails is there any > prolem? Either file system type is fine. I use ex

[Rails] should it be ext4 or ext3

2010-01-04 Thread Tom Mac
Hi I am trying to setup rubyonrails with a fresh installation of fedora linux.My question is should the partition type ext4 or ext3 for frdora? If it is ext4 and then installing rubyonrails is there any prolem? Thanks in advance Tom -- Posted via http://www.ruby-forum.com/. -- You receive

[Rails] [job] Wanted: Tech Advisor & Adventure &/or Social Change-Seeking Web app & Mobile app developers/cofounders

2010-01-04 Thread davidvGoliath
Wanted: Adventure &/or Social Change-Seeking Web app & Mobil app developers/cofounders & Tech Advisor For unusual web app startup with huge social value and financial potential, and also for fun mobile apps. MISSION: The web app is a conceptual advance in using the Internet to help couples to sa

[Rails] Re: Newbie belongs_to question

2010-01-04 Thread Alex Smith
Never mind! I was using an invalid ID which is why it never showed a value. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com

[Rails] Newbie belongs_to question

2010-01-04 Thread Alex Smith
Hey so all of the articles I read on this say that if you're going to have two belong_to's to a single table ti should look something like this belongs_to :player, :foreign_key => "player_one" belongs_to :opponent, :class_name => "Player", :foreign_key => "player_two" That seems to work okay

Re: [Rails] Re: Re: Re: Re: using test data generators -- valid / invali

2010-01-04 Thread Hassan Schroeder
On Tue, Dec 29, 2009 at 5:06 PM, Marnen Laibow-Koser wrote: >> Perhaps what's been lost here is the original question -- how do you >> use test-data generators like Machinist/Sham when you need an >> example of *invalid* data, that is, values not in the generated set? >> It's simple with fixtures

[Rails] Re: Testing get :new

2010-01-04 Thread Vincent P
Sorry everyone. Wrong diagnostic. get :new, :site_id => 1005 is the correct way to pass params to "get." I just messed up my fixtures. That's all. On Jan 4, 2:16 am, Colin Law wrote: > 2010/1/4 Vincent P : > > > I have a RESTful :new method to present a form.  I have implemented > > this new

[Rails] Re: user management by admin

2010-01-04 Thread Marnen Laibow-Koser
comopasta Gr wrote: >>> restful_auth fills your user model with unmaintainable generated code > > Hi Marnen, > > Yeah I do agree with you. Maybe Tom Mac wants to start with that one to > see the basic steps required (due to simplicity) and then move to > authlogic. No! That would require ripp

[Rails] Re: Restful routes

2010-01-04 Thread Marnen Laibow-Koser
Ron Green wrote: > This is not a real app. so stuff your perversion and top posting. Be polite if you want help. And if it's not a real app, then why waste your time on it? Presumably to learn good practice, right? > I got this from RailsCasts > http://railscasts.com/episodes/35-custom-rest-ac

Re: [Rails] Generate PDF

2010-01-04 Thread bill walton
Hi Adrien, On Mon, 2010-01-04 at 15:54 -0800, Adrien Coquio wrote: > Hi ! > > I need to create some pdf from my application. I have a table people > with a field address and I need to generate a pdf of label of each > address ( I think 10 labels per page). The pdf can have around 500 > pages. > W

[Rails] Re: Different Usermodels with Authlogic + Declarative Authorizat

2010-01-04 Thread Mike Gehard
Have you thought about using Single Table inheritance (STI) for the User model? A Google search of "rails single table inheritance" will yield some good tutorials. One of the big reasons for not using STI is if your models are very different with regards to attributes of the sub classes that get

Re: [Rails] Handling temporary generated image/graphs

2010-01-04 Thread Philip Hallstrom
> Hi, > > I have an application where I based on users selections generate a > dataset for them to download and a graph describing this data. The > graph is made with gnuplot and work really well - no problems :-) > > But I save the graph to a file say "graph.png" in the public/images > dir and use

[Rails] Advanced Rails training class with Wolfram Arnold in SF, Jan 25th

2010-01-04 Thread Rooz
Hi All, We have our Advanced Rails training class with Wolfram Arnold coming up in January with additional dates in March and June. Wolfram is one of the top Rails experts in the US and frequently presents at Ruby and Rails conferences across the country. You can see some interesting videos of Wo

[Rails] Handling temporary generated image/graphs

2010-01-04 Thread jriisbovbjerg
Hi, I have an application where I based on users selections generate a dataset for them to download and a graph describing this data. The graph is made with gnuplot and work really well - no problems :-) But I save the graph to a file say "graph.png" in the public/images dir and use it in the vie

[Rails] Dynamic Models and WordPress MU

2010-01-04 Thread shware1
Hi, WordPress is a PHP-based blogging engine. The MU version supports multiple blogs in the same database (as opposed to just one in the basic WordPress app) I'm looking at writing some Rails-based admin modules to interact with WordPress MU. WordPress MU creates a separate set of tables for ea

[Rails] Generate PDF

2010-01-04 Thread Adrien Coquio
Hi ! I need to create some pdf from my application. I have a table people with a field address and I need to generate a pdf of label of each address ( I think 10 labels per page). The pdf can have around 500 pages. Which library should I use to do it ? I read some information about different libra

[Rails] Rails app hung up in the database layer?

2010-01-04 Thread Robb
That's the best way I can describe the weird behavior I'm seeing. Anybody else ever seen this? A page that has no database calls (verified in mysql log), shows this in its log: Completed in 2ms (View: 1, DB: 663) Which is obviously fishy. And the query genuinely takes about 700 ms. ?? -- You

[Rails] Different Usermodels with Authlogic + Declarative Authorizat

2010-01-04 Thread Ruven Pelka
Hi there, I'm working on a Rails App, in which I use the gems Authlogic and Declarative Authorization to put Users into different roles. But because the roles are very different from each other, I thought it would be better, if every usertype gets its own databasetable / model. The model [b]Stude

[Rails] Re: user management by admin

2010-01-04 Thread comopasta Gr
>> restful_auth fills your user model with unmaintainable generated code Hi Marnen, Yeah I do agree with you. Maybe Tom Mac wants to start with that one to see the basic steps required (due to simplicity) and then move to authlogic. But you are right Marmen, restful_auth is full of "unknown" c

[Rails] juggernaut issues

2010-01-04 Thread tom
hi, im running a simple chatapplication to explore the juggernaut server and its features. everything is working fine, but the "issue" im facing is that, whenever juggernaut "kicks is", the browser, FF, gives me those popup-windows... - Juggernaut is connected to...IP - Juggenraut lost connection

[Rails] Re: SMS Messaging

2010-01-04 Thread Marnen Laibow-Koser
Merrick Christensen wrote: > Forgive this mis targeted email, I didn't know where else to send it > to be truthful. I am building an application using Ruby on Rails, I > need to know what SMS based service Highrise is using or something > similar. Anyone have experience sending sms messages from Ra

[Rails] Re: ferret search in production

2010-01-04 Thread RubyonRails_newbie
got it working - Thank you! On 4 Jan, 20:41, RubyonRails_newbie wrote: > Thanks Ashif, > > I like your blog - it makes sense, however I'm not 100% sure where > ''require(File.join(File.dirname(__FILE__), '../../../../config/ > environment'))'' is meant to go in the server_manager.rb file. > > CHe

[Rails] Re: not being able to access the info loaded by config.yml

2010-01-04 Thread Quee WM
> > I think yaml keys need to be strings, not symbols, i.e. that would read: > > development: > bit_ly: > login: something > api_key: secret > history: 0 > > Felix Well I followed the info provided here: http://blog.innovativethought.net/2009/01/02/making-configuration-files-with-

[Rails] Re: ferret search in production

2010-01-04 Thread RubyonRails_newbie
Thanks Ashif, I like your blog - it makes sense, however I'm not 100% sure where ''require(File.join(File.dirname(__FILE__), '../../../../config/ environment'))'' is meant to go in the server_manager.rb file. CHeers On 4 Jan, 19:17, Ashif Manjur wrote: > Hi, are you using mongrel server for you

Re: [Rails] not being able to access the info loaded by config.yml

2010-01-04 Thread Felix Schäfer
Am 04.01.2010 um 21:09 schrieb Quee WM: > I have the following app_config.yml in rails_root/config/ > > development: &non_production_settings > :bit_ly: >:login: "x" >:api_key: "x" >:history: "0" > > test: > <<: *non_production_settings > > production: > :bit_ly:

[Rails] Re: add external data at new record creation time

2010-01-04 Thread Quee WM
Thanks for the help. That put me on the right path. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from thi

[Rails] not being able to access the info loaded by config.yml

2010-01-04 Thread Quee WM
Hi, I have the following app_config.yml in rails_root/config/ development: &non_production_settings :bit_ly: :login: "x" :api_key: "x" :history: "0" test: <<: *non_production_settings production: :bit_ly:APP_CONFIG = YAML.load(File.read(RAILS_ROOT + "/config/ap

[Rails] Re: Generators

2010-01-04 Thread Marnen Laibow-Koser
Pale Horse wrote: > Could anyone tell me (or link me to) the best place to learn about RoR > Module Generators? What do you want to know? And what are you going to use them for? Unless they generate *extremely* skeletal code, generators are a bad thing. (See restful_authentication for an examp

[Rails] Re: What backup approach for uploaded files stored in file system???

2010-01-04 Thread Nicholas Henry
I have a set of Capistrano recipes that dumps the database and shared assets to another server/machine for each application. You can download them from: http://github.com/firsthand/application-backup What I like about this approach is that all the backup configuration is centralized along with th

[Rails] Re: ferret search in production

2010-01-04 Thread Ashif Manjur
Hi, are you using mongrel server for your production? If yes then you must make sure that you start your ferret server before starting your mongrel or apache/nginx servers. also you can share the index folder across your all production deployment. one thing is important to remember that your in

[Rails] XML and XML schema support

2010-01-04 Thread vihrao
I want to convert web page in to a XML document and validate it with a XML Schema.Can I do this with Ruby on Rails framework. Please let me know. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonr

[Rails] Re: Noob question .each problem

2010-01-04 Thread radu puspana
Problem solved! Hi again Fred, I tried user.detect {|current_user| current_user.hashed_password ==User.encrypt(password,current_user.salt)} and it worked like a charm. thx a million yet again for ALL your help, radu On Jan 4, 7:34 pm, Frederick Cheung wrote: > On Jan 4, 4:53 pm, radu puspana

[Rails] Re: ferret search in production

2010-01-04 Thread RubyonRails_newbie
Ah, according to the message I got back, it was already running. I've stopped it and re-started it, but i'm still getting the same error On 4 Jan, 11:39, RubyonRails_newbie wrote: > thanks for that.. I will take a look. > > Hopefully that will start it..so basically I run ruby script/ > ferr

[Rails] Re: Noob question .each problem

2010-01-04 Thread Frederick Cheung
On Jan 4, 4:53 pm, radu puspana wrote: > On Jan 4, 6:22 pm, Frederick Cheung > wrote: > > Sry for bothering you agan but shouldn't it be : >  user.detect {|current_user| current_user.hashed_password == > User.encrypt(password,current_user.salt)} reather than user.detect {| > current_user| current

[Rails] Re: user management by admin

2010-01-04 Thread Marnen Laibow-Koser
comopasta Gr wrote: [...] > I recently started using authlogic. Before I used > restful-authentication: > http://github.com/technoweenie/restful-authentication > > Here's a tutorial for that one also: > http://railsforum.com/viewtopic.php?pid=74245#p74245 > > --- > > I've managed to get authlog

[Rails] Re: Noob question .each problem

2010-01-04 Thread radu puspana
On Jan 4, 6:22 pm, Frederick Cheung wrote: > On Jan 4, 4:10 pm, radu puspana wrote: > > > and this line : user.detect {|current_user| current_user == > > User.encrypt(password,current_user)}, shouldn't be something like > > user.detect {|current_user| current_user == User.encrypt > > (password,

[Rails] mysql username isn't sent

2010-01-04 Thread Tass
database.yml: http://pastie.org/766054 >> ActiveRecord::Base.connection_pool.spec => #nil, :username=>"developer", :database=>"foobar", :adapter=>"mysql", :encoding=>"utf8", :host=>"localhost"}, @adapter_method="mysql_connection"> error: Access denied for user ''@'localhost' to database 'foobar

[Rails] Re: Noob question .each problem

2010-01-04 Thread Frederick Cheung
On Jan 4, 4:10 pm, radu puspana wrote: > and this line : user.detect {|current_user| current_user == > User.encrypt(password,current_user)}, shouldn't be something like > user.detect {|current_user| current_user == User.encrypt > (password,current_user.salt)} that's right. This means: iterate ove

[Rails] Re: Noob question .each problem

2010-01-04 Thread radu puspana
On Jan 3, 6:50 pm, Frederick Cheung wrote: > On Jan 3, 4:37 pm, radu puspana wrote: > > >  user.each do |correct_user| > >    expected_password = User.encrypted_password(password, correct_user.salt) > >    if correct_user.hashed_password == expected_password > >        idx = user.index(correct_

[Rails] Re: Good luck new year!

2010-01-04 Thread radu puspana
hey thitima, thx for letting us know about the site, we shall check it out. Best wishes for 2010 :) hugs, radu On Jan 4, 5:39 pm, thitima panyayai wrote: > Dear friends,how are you ? > I found a website (www.motonn.com), > There are many products, laptop computers,mobile phones, digital > cam

[Rails] Good luck new year!

2010-01-04 Thread thitima panyayai
Dear friends,how are you ? I found a website ( www.motonn.com), There are many products, laptop computers,mobile phones, digital cameras, DJ Equipment, etc. The most important is that the price is very cheap, and they delivery fast . I have received my product, quality is very good, I know you are

[Rails] Strange problem with I18n

2010-01-04 Thread Piotr
So... I have got little problem with I18N on my production server... Development server using webrick when I make POST request (Sending form) with not existing translation I have got result like: # translation missing: es, surname translation missing: es, invalid_field_with_e_end # translation mis

[Rails] Generators

2010-01-04 Thread Pale Horse
Could anyone tell me (or link me to) the best place to learn about RoR Module Generators? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@goo

[Rails] Re: Named Scopes and Created At

2010-01-04 Thread jm
Thank you so much! That worked perfectly! :) On Jan 3, 12:37 pm, Frederick Cheung wrote: > On Jan 3, 5:14 pm, jm wrote: > > >   Post Load (0.4ms)   SELECT * FROM "posts" INNER JOIN "posts_tags" ON > > "posts".id = "posts_tags".post_id WHERE ("posts_tags".tag_id = 1 ) AND > > (("posts"."published

[Rails] Re: relating controllers... How to?

2010-01-04 Thread Ro
Thank you! this works Happy new year! On Dec 30 2009, 6:00 pm, Robert Walker wrote: > Ro wrote: > > then I put in " Show Error Detail Link "  a <%= link_to > > "Show", :controller => "error_details" ,:action => > > "index", :task_errore => error.type %> > > and create method in error_detail

[Rails] Re: SMS Messaging

2010-01-04 Thread Peter
For a free, albeit with limited options, check out the sms_fu plugin. For more options, with pay as you go messaging, check out something like clickatell along with the gem of the same name. \Peter On Jan 3, 1:04 pm, Merrick Christensen wrote: > Forgive this mis targeted email, I didn't know whe

[Rails] Re: How to avoid code duplication when validating virtual attributes?

2010-01-04 Thread Rob Nichols
Ben Teese wrote: > if from_addresses.size == 1 > errors.add("'From' address", "is not a known sender ") unless > Sender.find_by_email_address(from_addresses[0]) > else > errors.add("'From' addresses", "expected to contain one email > address") > end I think your main probl

[Rails] Re: user management by admin

2010-01-04 Thread comopasta Gr
Hi, Yes you can do that with authlogic. Take a look at the next tutorial. http://github.com/matthooks/authlogic-activation-tutorial --- I recently started using authlogic. Before I used restful-authentication: http://github.com/technoweenie/restful-authentication Here's a tutorial for that on

[Rails] Re: add external data at new record creation time

2010-01-04 Thread Rob Nichols
Rob Nichols wrote: > class Vehicle < ActiveRecord::Base > before_save update_bit_ly_url > > def update_bit_ly_url > bit_ly_url = CreateURL.bit_ly_for_vehicle(self.id) > end > end Actually - just spotted that you'd have to use after_save or information other than the id to generate the

[Rails] Re: Problem with downloading a generated Excel sheet

2010-01-04 Thread Ahmed Abdelsalam
Thank you for your response, It helped me a lot. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this g

[Rails] Re: add external data at new record creation time

2010-01-04 Thread Rob Nichols
Quee WM wrote: > I plan on writing a helper function which will be able to take the id > for the new record and return the link. Using a "helper" function implies that the coding will trigger as the template is being rendered. If this is the case, you don't need an entry in the database. Just wr

[Rails] resizing cells in Spreadsheet/Excel

2010-01-04 Thread Ahmed Abdelsalam
Hi, I'm working on an application that generates excel sheet. I would like resize cells so that it contains long contents. I'm using spreadsheet/excel. How can I do this? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Rub

[Rails] :include not working

2010-01-04 Thread Krunal Shah
I have one model User. And i have used acts_as_commentable_with_threading plugin. I am firing query @comments = Comment.find(:all,:include => :user) it generate mysql properly. SELECT SQL_NO_CACHE * FROM `comments` SELECT SQL_NO_CACHE * FROM `users` WHERE (`users`.`id` IN (1,4,5)) . But when i am

[Rails] Re: ferret search in production

2010-01-04 Thread RubyonRails_newbie
thanks for that.. I will take a look. Hopefully that will start it..so basically I run ruby script/ ferret_server from my app location on the hosts server? Thanks again. On 3 Jan, 18:33, Frederick Cheung wrote: > On Jan 3, 5:39 pm, RubyonRails_newbie > wrote:> Yes - it's installed: > > already

[Rails] to_parm and how it can be used in a helper

2010-01-04 Thread Quee WM
is there a way to pass the data returned by the to_parm function in a helper? i followed the info provided at http://www.jroller.com/obie/entry/seo_optimization_of_urls_in and am able to successfully get the correct urls, now i want to be able to get the same (id-whatever) text and pass it to a he

[Rails] Re: Development environment bug? (config.load_paths doesn't take)

2010-01-04 Thread comopasta Gr
> In development mode, these new directories are not picked up. Hi, anyone has an answer for this one? I just tried to add some new path same way and it doesn't seem to pick it. Running in development mode yet. Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message be

[Rails] add external data at new record creation time

2010-01-04 Thread Quee WM
In my project i require a bit.ly link for each new product entered in the database. Please guide me on how to do this? Note: I am using a standard rails app with basic actions to test this code I plan on writing a helper function which will be able to take the id for the new record and return the

Re: [Rails] Testing get :new

2010-01-04 Thread Colin Law
2010/1/4 Vincent P : > I have a RESTful :new method to present a form.  I have implemented > this new method to use a params value params[:site_id].  For example, > the URL to this form would be : http://localhost:3000/reviews/new?site_id=1005 > Now I need to test this new method.  How do I put in

Re: [Rails] Problem with downloading a generated Excel sheet

2010-01-04 Thread Jerry Van Baren
Ahmed Abdelsalam wrote: > Hello, > > I'm using the spreadsheet/excel gem to generate an excel sheet that I > want user to be able to download it once it's generated. Please take a > look on the below code: [snip] > workbook.close > send_file "#{RAILS_ROOT}/public/reports/#{file}"

[Rails] Re: rmagick on windows

2010-01-04 Thread Rupak Ganguly
I have a post that explains the installation for both RMagick and ImageMagick at http://rails.webintellix.com/index.php/2010/01/how-to-install-rmagick-imagemagick-on-windows/. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups

[Rails] user management by admin

2010-01-04 Thread Tom Mac
Hi My requirement is upon sign up a new user is created with the given emailid etc and the admin user get an email about this request.When he approves the request an email is sent to this user and now the user can login to the application..How can I do this? Can I do this with authlogic? Thanks

[Rails] test

2010-01-04 Thread Tom Mac
test -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubs

[Rails] Re: behavior of find(:select => ...)

2010-01-04 Thread acreadinglist
Thanks. That makes sense. Much appreciated! On Jan 3, 7:46 am, Rick DeNatale wrote: > On Sun, Jan 3, 2010 at 4:27 AM, acreadinglist wrote: > > Can someone clarify what type of object is returned from a find > > (:select => ...) statement that only selects a subset of the records > > columns? >