search for: artist_nam

Displaying 11 results from an estimated 11 matches for "artist_nam".

Did you mean: artist_name
2006 Jul 18
3
Newbie validation question
I am having problems with a validation, the full model code is below. The validate routine is attempting to see if another record with the same artist_name, title, & catalogue_no exists in the products table. If so, it should throw an error. This is the validation code: def validate if Product.find(:all, :conditions => ["artist_name = ?, title = ?, catalogue_no = ?", artist_name, title, catalogue_no]) errors.add(:title, &qu...
2004 Oct 01
5
Song Updates
Run this from command line: curl --user admin:hackme 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' That should set you all up, just change IP, Port and MountPoint. -- Cody Tubbs : (Certified Master Linux Administrator) : (Certified Unix Security Specialist) -- Broadway Internet On 1 Oct 2004 at 12:15, Dave St John wrote: > Looks like http url is broke again. > http://...
2009 Apr 11
6
Inserting data from 1 table to another by using find_by_sql
Hi All, I am inserting data from one table to another by using following method @data=RoyaltyReportFiles.find_by_sql("insert into royalty_reports (artist_name, album_name) select artist_name, album_name from temp_royalty_reports where id=328417") it saves the data into royalty_reports table but it gives following error and application crashes. i am using rails 1.2.5 You have a nil object when you didn''t expect it! The error occurred whi...
2006 Jul 19
0
Form helpers produce invalid XHTML code!
...t; <%= render :partial => ''form'' %> <%= submit_tag "Create" %> <%= end_form_tag %> ...creates this HTML colde: <form action="/en/bookings/create" method="post"> <!--[form:artist]--> <p><label for="artist_name">Name</label><br/> <input id="artist_name" name="artist[name]" size="30" type="text" /></p> <p><label for="artist_about">About</label><br/> <textarea cols="40" id="artist_ab...
2004 Oct 01
0
Song Updates
...:49, John wrote: > > > >> Hello Cody > >> Thanks for the response. > >> > >> I don't have access to curl. > >> > >> When I try ' http://[my server IP]:[my > >> port]/admin/metadata?mount=/live.ogg&mode=updinfo&song=Artist_name+Title' > >> with a web browser > >> I get a return of "source will not accept URL updates " > >> > >> If I try 'http://[my server IP]:[my > >> port]/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > >&...
2004 Oct 02
0
Song Updates
You did not type the exact string I told you to first of all. You forgot to use the 's after before the h in http and at the end. curl --user admin:hackme 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' notice the useage of the 's in my string and not in yours. Your string is launching nonsense into the background via the two &'s, hence [1] and [2]. Follow my string and it will work wonders. Sorry for the delay in reply. -- Cody Tubbs : (Certified Master Linux Adm...
2004 Oct 13
0
Song Updates
...: [Icecast] Song Updates > > You did not type the exact string I told you to first of all. You forgot to use the 's after before the h > in http and at the end. > > curl --user admin:hackme > 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > > notice the useage of the 's in my string and not in yours. Your string is launching nonsense into > the background via the two &'s, hence [1] and [2]. Follow my string and it will work wonders. > Sorry for the delay in reply. > > -- Cody Tubbs : (Ce...
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi, I''m currently running an apache/jboss cocoon/flow/hibernate/ajax paypal (directpayment) project and am looking into the possibility of porting it across to ruby/rails. For that reason I would like to know the following: 1. Can I call my java classes or would I be looking at a complete rewrite in ruby? 2. How effective is ruby in terms of seperation of concerns regarding design from
2004 Oct 14
2
Song Updates
...type the exact string I told you to first of all. You forgot > >> to use the 's after before the h > >> in http and at the end. > >> > >> curl --user admin:hackme > >> 'http://192.168.0.1:8000/admin/metadata?mount=/live&mode=updinfo&song=Artist_name+Title' > >> > >> notice the useage of the 's in my string and not in yours. Your string is > >> launching nonsense into > >> the background via the two &'s, hence [1] and [2]. Follow my string and > >> it will work wonders. > >&g...
2004 Sep 30
2
Song Updates
Hello Everyone, What is the string to update song titles? I have seen a few but none seem to work. Thanks John
2009 Apr 16
0
how to convert the find_by_sql code to the find code
...in ''field list'': SELECT zip_codes.state,sum(sales_reports.royalty_price) as royalty_price, sum(sales_reports.units) as units FROM `sales_reports` zip_codes WHERE (download_date BETWEEN ''2010-01-01 00:00:00'' AND ''2010-12-31 00:00:00'' && artist_name in ("Coconut Records","Reeve Oliver","Weezer") && royalty_currency = ''USD'' && zip_codes.zip_code=s.postal_code) GROUP BY zip_codes.state ORDER BY royalty_price desc LIMIT 10 Regards, Salil -- Posted via http://www.ruby-forum.co...