similar to: Scaffolding working...kinda

Displaying 20 results from an estimated 10000 matches similar to: "Scaffolding working...kinda"

2006 Jan 21
9
Where to put method
I''ve got following code in GenresHelper.rb def album_list(genre) albums = genre.albums.sort list = albums.collect { |album| link = link_to album.title, :controller => ''albums'', :action => ''show'',
2004 Aug 06
3
legalities of streaming
Oh, I almost forgot... If you're going under compulsory licensing: 1) Listener requests cannot be honored, otherwise you will end up labeled an "interactive service" along with Audiogalaxy Rhapsody & the like. Which means more & more expensive royalties. 2) You cannot play more than 3 songs of the same album in any 3 hour period (no more than 2 in a row). Nor can you
2010 Aug 08
5
Ruby 1.8.7 and openssl failed compile
I got this error: ossl_ssl.c: In function ?ossl_sslctx_get_ciphers?: ossl_ssl.c:626:19: error: ?STACK? undeclared (first use in this function) ossl_ssl.c:626:19: note: each undeclared identifier is reported only once for each function it appears in ossl_ssl.c:626:25: error: expected expression before ?)? token ossl_ssl.c:629:47: error: expected expression before ?)? token
2008 Jun 02
3
Adviced way of tagging music
I change a lot of my CD to Ogg to be able to listen them easily from my computer (I use foobar, I was used to WMP but it does not support library for Ogg files and plug-ins I found for this where poor) without the need for frequent CD changing. I like my music to be richly tagged. But with classical music CD it is a real pain to tag those files. Typical problems involve: - single CD
2001 Jun 09
5
mp3pro and the mp3 streaming license
Fraunhofer and Thomson Multimedia release their new mp3pro codec and new licenseconditions for streaming mp3 : http://www.techreview.com/web/kiang/kiang060701.asp My comment is that the licensecharge isnt frighting compared to what we broadcaster pays in musicroyalties allready. Is this what you feared jack? :) -- Venlig hilsen/Kind regards Thomas Kirk ARKENA thomas@arkena.com
2006 Dec 07
2
need to transfer data from old php like db to rails style db
hey all, I have two tables like that from an old php project: artists(id,name) albums(id,artist_id,album_name) and I need to transfer the data of this database to three tables that look like this: artists(id,name) albums(id,name) artists_albums(album_id,artist_id) any idea what''s the fastest query to do this? thanx in advance Pat --~--~---------~--~----~------------~-------~--~----~
2010 Aug 18
2
auth logic - password confirmation
Hi, newbie here. :) i have this form on a test rails app: <% form_for @user do |f| %> <%= f.error_messages %> <p> <%= f.label :username %><br /> <%= f.text_field :username %> </p> <p> <%= f.label :email %><br /> <%= f.text_field :email %> </p> <p> <%= f.label :password %><br
2004 Aug 06
2
legalities of streaming
Ditto Scott - you nailed it !! But the DMCA actually sets rules on requests and processing them without being considered "interactive" - for instance the time frame allowed from when requests are made and then processed and actually air (minimum 60 minutes), to displaying your playlist - (can not be displayed public in the order of actual performance) basically as long as you never
2010 Aug 13
10
:limit text mysql
I have a rails 3.rc app that I''m developing. I have a text entry in one my models that can sometimes be quite big. I tried setting :limit => 4294967296 on the text column in my migration file but this doesn''t seem to have any effect. The column is till created as a TEXT column rather than MEDIUMTEXT or LONGTEXT. Does anyone have any idea why this might be happening? Is there
2006 May 20
3
Alphabetically sorted list pages + dynamic forms
Hey everyone, I''m new to RoR - how can I get my database content filtered by alphabet? Eg, on my php site now I use this format: http://www.scenepointblank.com/reviews/index.php?page=B How can I get this kind of functionality out of ruby? Also, how could I go about making a multiple select box of authors, then depending on how many you chose, the next page of the form displays a
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very simple mysql functions. Basically I''ve got a few tables, ex: Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name) I want to search through both album.name, band.name, and label.name throwing all results into a variable, with no redundant info. I think what I need to be doing is setting up some
2001 Dec 07
4
album portion of the tags request
I wanted to post publicly my problem with Jonathan's proposed album requirements. Although I do apologize, since this thread is too big already. The idea that as a requirement one should be able to identify the exact CD a track was ripped from is not a valid requirement in my book (not for the tags at least), and I hope I can explain why. Without knowing the exact way Jonathan wishes to
2006 May 04
4
form post not working
Hi there, I have this form code in a view: <%= start_form_tag :action => "listByArtist", :id => artist.id %> <p><b>List by Artist:</b> <select id="artist_id" name="artists[id]"> <%= options_from_collection_for_select(@artists, "id", "name") %> </select> <%= submit_tag "List"
2006 Jan 22
11
ActiveRecord find
Suppose I have three tables - authors, posts and topics. Every post have a topic and every topic has an author, so I have posts.topic_id and topic.author_id. When the author is guest (not registered), author_id is nil. I need to find all the posts (in one query) where every post have all the information of the topic and the auther, so if p is one of those posts I could get the name of the
2013 Sep 18
4
Opus now supported at Magnatune
This seemed to be the best place to let you guys know.... Magnatune.com's entire catalog is now downloadable in Opus format, with full metadata (small and large cover art) at 128k stereo. A few comments: 1) I'm really impressed by your metadata implementation. It's very cleanly done, and the multiple artwork idea is fantastic. One suggestion: I couldn't find an example in the
2004 Aug 06
2
DMCA and webcasting
On Thu, 13 Sep 2001, Joshua Vickery wrote: > Great, so should we file with SoundExchange or wait for the RIAA to pick > a rate? Yes, you are supposed to file with the RIAA (SE as you suggest?). Period, end of story. Jwz covers this on his site IIRC. > Even if they insisted on collecting $0.004 per performance I don't think > we have even 100000 "performances" a
2005 Dec 15
2
HABTM being tricky
I''ve just been bodyslammed by a problem with has_and_belongs_to_many - as far as I can tell, if it doesn''t appear at the top of other relationship definitions it doesn''t seem to work right. For example: class Artist < ActiveRecord::Base has_and_belongs_to_many :genres has_many :albums has_many :videos has_many :cds has_many :collections end ..works fine
2006 Feb 13
4
DRM and Ogg Vorbis ??
Dear all, I would like to know whether it is possible to use any DRM scheme with Ogg-Vorbis ? My idea would be to distribute music commercially and be able guarantee to artists that they won't be copied freely. Thanks for your advice. Regards, Ulrich ulrich@bbtest.roxr.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2001 Dec 06
12
(Classical) Request for Standardization of expanded TAGS
A month or two ago I sent an email to this list proposing to expand the list of "standard" tags for Ogg Vorbis. No tag would be required, but if you wanted to encode certain types of information about a file, you could use a standard tag. I went through the whole discussion, and revised my proposal in light of all the comments from everyone. Here is the updated proposal. This
2001 Aug 21
2
Title formatting for players/plugins
Hi, Peter Pawlowski's new (1.15beta) winamp decoder plugin seems quite nice, in my opinion.. The "title formatting logic" is what I've been dreaming of for ages.. Right now I've chosen "%artist / [[%[abbr20]album][-%[num2]tracknumber] / ]%title[ - %version]" I get titles such as "Artist / Title"or "Artist / Album / Title" or "Artist /