similar to: Flickr - Tutorial

Displaying 20 results from an estimated 9000 matches similar to: "Flickr - Tutorial"

2006 May 25
4
How to add a migration with a plugin?
I''m working on a plugin that requires some database support to do its job (adding a model or two). I''d like the plugin to automatically add a migration once it is installed. Is there already a mechanism for this? If so, how do you do it? -- *Berin Loritsch* Owner *Work:* 571-215-7708 *Email:* bloritsch@d-haven.com <mailto:bloritsch@d-haven.com> *IM:*
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
13
file_column
Restricting size of an uploaded file, is how is that possible? If I do not want a user to upload a file larger than X bytes, can it easily be done? If I also would like restrict the types of files that can be uploaded, how may I do so? Thank you, Sharkie
2006 Mar 07
6
how to add onchange javascript event to select field
I would like to add javascript ''onChange'' event handling for a select field, such as <%= collection_select("job", "client_id" , @clients, "id", "name") %> with onChange="xxx" Anyone know how to make this work? Thank you, Scott -- Posted via http://www.ruby-forum.com/.
2006 Jul 27
2
ActiveRecord retrieval style? Lazy initialtization?
I''m using ActiveRecord for an Extract and Transform operation, so it is outside of its native environment of Rails. I am running into a problem with memory consumption when I retrieve large amounts of data. By large amounts I am talking about roughly 12,700 records that each have a one to many relationship with about 15 additional types of information. One of those types happens
2006 Mar 03
7
Workflow + Rails
Is there any project or solution for an easy integration of a WFE / WfMS into rails? I''m quite new to this topic, but I probably need a small subset of workflow patterns (or whatever the correct term is) only. Any pointers are welcome. -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
4
Getting Acts_as_Paranoid to work with validates_uniqueness_of
Hello I''ve been using Acts_as_Parnoid for a while and it has been working well but I am now having a slight issue with it. I have a company table were I would like to use validates_uniqueness_of :company_name. This validation works if a company exists in the database and has not been deleted. However, I also would like the validates_uniqueness_of to work if a company has
2006 Mar 06
5
Question about file_column plugin
Hi! File_column plugin saves uploaded files to "public/model/image/model_id/filename", if i understand it correctly. Does it mean that it creates new folder for every image? I have product (model) that has_many images (model). Is it possible to use (or modify) this plugin that it would save my images to different folder, so the id of the model_id part would be id of the product
2006 Mar 08
3
ActiveRecord and Images
Not really a Rails question, but a "best practices" one. If I want to associate an image to every account in my application, is it better to insert the image file directly inside the db or to upload the image in public/images/ ? Also, if I want to associate a cover to a movie, what''s the best approach ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it
2006 Mar 07
2
Using form_tag_with_upload_progress
All, I''m attempting to use "form_tag_with_upload_progress" http://railsmanual.org/module/ActionView::Helpers::UploadProgressHelper/form_tag_with_upload_progress However, I''m having a hard time understanding what I''m supposed to provide and where in order to take advantage of it. There''s a lot of information and I''m sure I can figure it
2006 Jun 24
2
using flickr.rb
Does anyone have any experience with using flickr.rb? Seems the only thing which is documented for it is searching through your photos. Anyway, all I''m trying to do is return a list of my 20 most recent photos, but nothing seems to work. doing this returns 100 photos for a given user (which takes all day to load) @flickr = Flickr.new ''API KEY'' @user =
2006 Mar 07
6
form_tag - directing to new target window
How do I use... <%= link_to "All Facilities", :action => ''fac_log_all'' %> if I add :target => "_new" that is just a parameter and not a directive. I just want reports to print into a separate window. How do I do that? It''s not clear at all to me Craig
2006 Jul 19
1
flickr.rb error
hi all, i am trying to put flickr on my ruby app using the famous "Putting flickr on Rails" tutorial...i followed all the steps what was given there...but the followoing error always come... Error Message: NoMethodError in FlickrController#search private method `gsub'' called for 24:FixnumRAILS_ROOT: C:/rails/flickr/config/.. Application Trace | Framework Trace | Full
2005 Dec 17
2
Testing flickr
Hi, I watched the flickr demo video some days ago and I was impressed of Rails so I decided to test it my self.. I put it on my web server on windows (Apache2/fcgi/Rails1.0). All works well but I have this in my log: Processing FlickrController#search (for 127.0.0.1 at 2005-12-17 15:00:02) [POST] Parameters: {"commit"=>"Find", "tags"=>"flower",
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the ''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http'' stuff. I''m just wondering how to send requests to the api and handle the response. Any tips would be great! Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jul 20
3
Flickr API and Ruby Question...
I have a local version of the flickr.rb file installed and working properly, but apparently I''m having issues installing it on my Dreamhost server. So, does anyone know how to do it the normal way? Just interfacing directly with the flickr/api without using the gem ''flickr.rb''? Any tips in the right direction would help me tremendously! Thanks! -- Posted via
2005 Dec 20
1
Problems w/ Flickr demo
I''m trying to alongside the Flickr demo, and I''m getting the following error. I''m not sure why, as my code matches up exactly with what''s in the video. I''d appreciate any help. RgBJA ----- OpenSSL::SSL::SSLError in Flickr#search SSL_CTX_new:: library has no ciphers RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jul 19
3
Flickr.rb - Limiting photo results!
I''m returning my photos to my site, but I''m want to limit the result to like 5 photos or something. Right now, it''s returning all of my public photos. What I''m attempting is to do some sort of counter loop in the view to limit this, but it seems like the API would have a count or a limit option. Does anyone know how to limit the photos returned by
2006 Jul 20
1
Installing flickr.rb on Dreamhost Error - HELP
I tried to install flickr.rb on my Dreamhost server, and I got an error. This is what I did to install it: $> gem install flickr I''m not sure if there are any other parameters... does anyone know why I got errors when trying to install this? What does it mean when it asks "Install required dependency xml-simple?" By the way, here''s the results: [myserver]$
2006 May 19
1
flickr like DST timezone management
Hello everyone I wonder if anyone can point me to the library for timezone management with DST support, which has timezones, like flickr has. I know that there is TZInfo, but it''s a bit different for it has huge list of available timezones in ''Continent/City'' format. I would like my application to have timezones list more like on flickr (or windows regional settings) -