search for: fazzini

Displaying 10 results from an estimated 10 matches for "fazzini".

2010 Oct 01
20
Paperclip not executing FFMPEG properly
Im using a customs processor to run ffmpeg on a video to create a thumbnail. So far so good. Except when I do: cmd = "-i #{@file.path} -f flv -s 320x240 ~/Downloads/foobar/q.flv" success = Paperclip.run(''ffmpeg'', cmd) Console is reporting: ffmpeg ''-i /var/folders/uL/uL0bYOOZEZaJH5E+BmDJVE+++TI/-Tmp-/stream, 16824,1.mpeg -f flv -s 320x240
2010 Sep 08
4
OpenSSL
Hello anyone used OpenSSL before? Why do we need to pay for expensive SSL certs when there is OpenSSL which is provided free? Is there a difference? I''ve got an ecommerce website, and wondering if OpenSSL is enough? Your thoughts will be appreciated -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Oct 11
12
Need advice on controller / view
Need some advice. I''ve got two modules: artists and paintings. In my home page, I''ve got a 2nd page that says "Browse paintings", which displays ALL paintings of ALL artists. This is being rendered by paintings#index. In another page, I should show all paintings of a specific artist ONLY. Meaning, paintings from ONE artist. I cant use paintings#index for this anymore
2010 Oct 18
5
How to create a "like" button
Ive got a like and video model. On a Video page, Users can click a link ("like") button which will allow them to like a particular video. Since my like button/image comes in the form of a link and not an actual html form. How should this be implemented? Do I need to specify a ":method => puts" in my link_to tag helper? What are your thoughts? -- You received this
2010 Oct 12
2
STI and :through, not working?
Artist.first.medias returns all medias. Media is an STI. Media can be video or painting. How do I return all paintings of an artist? Only paintings, not videos? In my Artist model, I tried putting: has_many :paintings, :through => :medias In console, I do: Artist.first.paintings.all And I get: ActiveRecord::HasManyThroughSourceAssociationNotFoundError: Could not find the source
2010 Oct 15
1
Help with nested form: User and Artist
Artist is 1:1 with User. User has_one :artist In my artist model, I have: belongs_to :user accepts_nested_attributes_for :user However, in my artist _form, the name column from the user model does not display. I am doing: <% f.fields_for :user do |builder| %> <p class="fields"> <%= builder.label :name %> <%= builder.text_field :name %>
2010 Oct 08
1
How to access virtual attributes in the model
I''ve got an artist form. In this form I''ve got attributes that do not exist in the model that the form belongs to. However, I would like to submit these values for later processing. My virtual attributes in the form are: <%= f.label :foobar %> <%= f.text_field :foobar %> In the artist model, I created a getter: def foobar end When the form is
2011 Feb 03
2
T.38 negotiation error
...y is too slow and instable. How can I do to solve this problem? Thank you Dott. Marcello Colucci Microsoft Certified Professional (70-176/70-155/70-100) MColucci at SIRIOInformatica.it ----------------------------------------------------------------- SIRIO Informatica s.a.s. P.za Pericle Fazzini, 8 63039 San Benedetto del Tronto (AP) Tel.: 0039-0735-56.83.75 oppure 0039-06-916.503.224 FAX: 0039-0735-56.02.13 www.SIRIOInformatica.it <http://www.sirioinformatica.it/> Info at SIRIOInformatica.it ********************************************************* "Questo mess...
2010 Oct 27
0
Google maps
Anyone know an up-to-date gem for Rails 3 to connect and display markers on google maps? It seems the gem YM4R hasn''t been updated for a while now... Most of the articles I find on Google are a bit outdated as well. Should I just stick with native Google Map API for this? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2010 Oct 28
0
Active record help - sorting by number of paintings
An artist has many paintings. I am having trouble doing this. How can I make Active Record retrieve and sort all artists based on the number of paintings. The record should also show the number of paintings of each artist. By the way, I am using PgSql. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send