search for: boulangeri

Displaying 20 results from an estimated 22 matches for "boulangeri".

Did you mean: boulangerie
2006 Jun 09
8
[how can i delete a file system..please help]
Hi, I''m trying to delete a file system (<xml_26548975.xml>) File.delete("xml_26548975.xml") But I get this error: "Permission denied - ./script/../config/../uploads/xml_26548975.xml". Why? -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060609/ec85a9b9/attachment.html
2006 Jun 08
3
Back again; errors in depot app
Sorry, but this is a big one - after adding the Ajax portion of the Agile Web Development tutorial my page displays: Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html It started when I added - page[:current_item].visual_effect :highlight, :startcolor => "#88ff88" , :endcolor =>
2006 Jun 01
8
[Pdf::Witer]
Is anyone using Pdf::Writer? I don know how to insert html tags in a pdf using Pdf::Writer, except <b> and <i> I think an idea is with Pdf::TechBook but i hadn''t seen any example till now. -- Cheers, ioana k&a http://boulangerie.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060601/d38e288c/attachment.html
2006 Jun 01
7
Active Record Basics - Making it commentable
hi everyone, I hope someone can help me out with some active record basics? I''ve been banging my head for the past 4 hours and I can''t seem to get it to work. I am trying to add comments to a caption (just like how one adds a comment to a post in a blog). I seem to be able to read posts just fine from the DB, however, I can''t use the "recordComment"
2006 Jun 04
3
Data manipulation from a database
Say, for example, I have this in my db: id name date 1 Item_1 feb-19 2 Item_2 feb-20 and I want to manipulate it so that the view can output this: feb-19: Item1 feb-20: -- Posted via http://www.ruby-forum.com/.
2006 Jun 01
4
can''t convert Fixnum into String ??
I have been getting this error message on various pages, just wondering if anyone could explain whats going wrong, and the best way to correct it code that is cuasing the problem is below @project = Project.find(:first, :conditions => "id = " + @purchaseorder.project_id) -- Posted via http://www.ruby-forum.com/.
2006 Jul 04
4
ROaR: A Ruby on Rails Podcast
I''m starting a new podcast to cover some of the hot topics going on in Rails. Half news, half interactive, all community. As always, the first episode kinda sucks but I''m looking forward to feedback from all of you on how to make it better. http://www.simiancodex.com/roar/ or for iTunes people http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=163609703 Michael
2006 Jun 08
5
Field names in validators
Hi! Is there a (simple) way to use alternative field names in validation messages? For example, if I have a validator like this one: validates_presence_of :email how can I make it print a message like "E-Mail Address can''t be blank" instead of "Email can''t be blank"? I can override the "can''t be blank" part by using the :message
2006 Jun 02
5
ActiveRecord: Getting table names
How do i get (discover) all the table names within a database using ROR/ActiveRecord ? I wish to build a webapp that connects to a database on the fly, discovers tables and column names etc and then can show data or build a report based on user selection. The ActiveRecord API doesnt seem to give any method for getting table names. -- Posted via http://www.ruby-forum.com/.
2006 Jun 01
2
How to call database variables from "Public" folder?
If I want to use for example, <% for product in @products %> in "index.html" (for HomePage) of the "public" folder to call the objects in "products" database table, how do I do that please? It seems that I could not directly call it in the file. actually, I want to partial-render a list for products in the homepage. I think there must be a smart way. btw, is
2006 Jun 01
4
How do I get today''s date?
I know this is a simple question, but i just want to put the current day, month, date and year on my website. I still can''t figure out how to read the Rails API. Can anybody help me out? TIA -- Posted via http://www.ruby-forum.com/.
2006 Jun 01
2
update_all broken in postgres?
Hi has anyone managed to use update_all with rails on postgres? In my setup, it does not work: >> @keyword.update_all(myupdates) NoMethodError: undefined method `update_all'' for #<Keyword:0xb7ac4670> from /home/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1786:in `method_missing'' from (irb):14 I checked that the base.rb
2006 Jun 05
2
Pagination, how to in rails?
Hi, Im creating a few reports for a system using ind_by_sql Are there any built in features that I can use to paginate the results and how can this be achived? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 05
1
Drag and drop sortable list woes
Well I have it dragging and dropping but its not saving! def sort @prices = Price.find(params[:id]) @prices.each do |@price| @price.position = params[''price''].index(@price.id.to_s) + 1 @price.save end render :nothing => true end Current error in the view after dropping is - undefined method `each'' for #<Price:0xb74ec4ac>
2006 Jun 07
2
[delete an uploaded file issue]
Hi, I''m trying to delete an uploaded file (<xml_26548975.xml>). But I get this error: "Permission denied - ./script/../config/../uploads/xml_26548975.xml". Do I need to set some configurations for WeBrick? -- Cheers, ioana k&a -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 15
1
Paginating a .find
how exactly would I apply paginate to a .find I have: @posts = Post.find(:all, :conditions => [ ''(title) OR (body) LIKE ?'', ''%'' + params[:query] + ''%''], :order => ''end_date'') How would I go about paginating the uoputed list? Something like 10 on a page. -- Posted via
2006 Jun 22
2
Passing a value from one rhtml to another
I''m trying to find a way to get from one rhtml page to another and taking a value along to use in the second page. Basically a user clicks on one of many download links and what should appear on the next page is all the available stuff related to that download, so I think if I take the id number of the first page then i can use if statements in the second page? Sorry if that sounds
2006 Jun 27
4
Use link_to in a controller?
Hello. I realize that link_to is a helper that generally only has use in a view file, but recently I have come across a situation where it would be useful in a controller. I am trying to create a flash[:notice] and I want to link to another page. Of course, I could hard code the HTML, but for the sake of consistency, I was wondering if there is a way to abstract it from within the controller
2006 Jun 28
4
argument out of range...
Hi... I''ve a problem with this : [code] def fir_tahiti @notams=Array.new Notam.find_all_notams().each do |notam| @notams.push(notam) if (to_secs(notam.debut)<Time.now.to_i and to_secs(notam.fin)>Time.now.to_i) end end def to_secs(str = nil) Time.gm(2000+str[0..1].to_i, str[2..3].to_i, str[4..5].to_i, str[6..7].to_i, str[8..9].to_i).to_i if str end [/code] It tells
2006 Jun 02
3
Wierdness with rake test_units and schema.rb
I have just migrated to use Rail 1.1 from 1.0. In the progress of fixing and cleaning up the unit tests. I found the following problem. I am not sure if this is a bug or it is my environment. When I run "rake test_units, some of the index in association tables is not created, this leads to failures for some unit test cases. Thinking that may be because I didn''t setup the