Displaying 7 results from an estimated 7 matches for "new_blog".
2006 Aug 17
2
Knowing the partial iteration number
Hi,
How can I know the iteration number of a *render (:partial)* iterating
through a collection?
Example:
I got a collection containing 3 elements:
*John
*Pierre
*Chris
John would respond to 1, Pierre to 2 and Chris to 3 and so on...
Kind of like the *cycle* method acts but to know the iteration number.
Guillaume Carbonneau
-------------- next part --------------
An HTML attachment was
2006 May 16
4
dealing with media file formats and RMagick.
Hello,
I basically have the following problem - I have a site that will allow
people to upload videos. The video may be in any format - .mov, .avi, .wmv
etc.. I can either use embedded Windows Media Player, or embedded Quicktime
to play the files but the problem is, how do I create stills from the movies
to display them as .jpg''s on my site so when somebody clicks on them, the
video
2006 Apr 25
1
Validating format
Hi there,
I am trying to upload a file and that is being done successfully.
Now I want to restrict the uploading i.e. make it only doc/pdf upload.
If anybody could help as how can I make that happen.
The file is a part of my table and its called file_name.
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 14
5
Rails SOAP tutorial
Hi all..
I new in Ruby/Rails.. Where could i get some good tutorial about SOAP
using Rails?
I''ve been googling yet still did''nt find good tutorial.
Thank you in advance.. :)
--
Regards,
Ananda Putra
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
...following statuses,
"new", "edit","published","archived".
That''s why the "blog" object has a foreign key, "status_id".
Now, suppose I want to search for all blog objects that have been
created in the past 24 hours.
I would do
new_blogs = Blog.all(:conditions => { :created_at => (Time.now -
24.hours) .. (Time.now) } )
Tested and that works just fine.
Suppose I would like to get all blog entries which are not of the
status of ''published'' or ''archived''.
I would just make use of searchlogi...
2006 Jul 27
7
cannot get past "Booting WEBrick"
Hi Everyone,
I am following the ''Agile Web Dev. with Rails'' book, and I used instant
rails to do the install on a Windows machine. Everything seemed to work
fine until I got to:
Booting WEBrick...
After that, nothing happens. I tried creating a new rails application, but
I get the same
problem. I also tried reinstalling to no avail.
Any ideas?
Thanks for the help.
2006 Jul 20
13
GoDaddy Woes
Has anyone had any luck setting up a Rails App using GoDaddy? I''m at my wits
end, I uploaded the site using the "instructions" in the Help Center but I
keep getting the
Application error
Rails application failed to start properly"
Error. I''ve lucked all over for help, and I''ve tried a bunch of things
(adjusting the chmod values of my dispatch files