Displaying 13 results from an estimated 13 matches for "octava".
Did you mean:
octave
2006 May 30
2
Hi , Anyone From Singapore?
Hi All ,
I been trying out RoR and reading the mailing list for
sometimes and wondering if anyone of you guys from Singapore ? I am
thinking of a meetup or something for RoR fans here. If you are , pls
contact me by my email ? Thank you very much.
regards
billy
PS : Apology for sending non-ruby question email in the list.
2006 May 14
3
hi all
...ter this new
world(solely for me of course, kind of late) of rubyonrails.If anyone
has any patience or just plain kindness to help me on my first steps
(leaps?) , I would greatly appreciate any links, references, tips,
hellos, or whatever else is offered.
Thanks ahead of time,
Shai Rosenfeld
Octava
I
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/79f53c28/attachment.html
2006 May 28
8
a newbie question, if possible to help
i was wondering if anyone can help me form a very simple "if" statment
in the controller...
i did a usual scaffold for table ''pages'', and everything is working out
well, i did the main site ''backbone'' and all, and everythings
good....the thing is, now i need to make sure that the site-admin does
not have the possiblity to destroy page 1 or page 2.
2006 Jun 01
3
how can i redirect a person after a login
...edirect to the page he
requested...
my loggin system is this:
APPLICATION CONTROLLER:
def secure
redirect_to :controller => ''login'' unless @session[:admin] == 1
end
-------------------
in my LOGIN CONTROLLER:
def authenticate
pswd = [ ''shai'', ''octava'']
@input = [ "#{params[:user][:name]}", "#{params[:user][:password]}" ]
if pswd == @input
@session[:admin] = 1
flash[:notice] = ''successful entry.''
redirect_to :controller => ''messages'' ####THIS...
2006 Mar 16
6
Newbie question - Rails without database
Hello to all,
I am entirely new to Ruby and also to Ruby on Rails. As far as I understand,
Rails builds its model according to the a specified table structuree in in the
database.
However, most of my applications, are for the most part (except some backend
CRUD stuff) not database centric. They do a lot of calculation for the user.
So, how can I create a model, when no database is needed,
2006 Jun 25
7
Unicode HOWTO?
I am disappointed about the (seeming) lack of Unicode support in Rails.
Is there a howto about working the most important limitations? For
example, figuring out the length of an entered word: "???".length() will
return 6, not 3. So if there is a maximum number of characters a user is
allowed to enter, this won''t work as it should -- it treats strings as
byte arrays instead
2006 Jun 01
9
access model from controller
Hello,
Rather new to RoR, so I''m not sure about the terminology and such :-/ .
My question is: how could I know the model which is associated to a
controller?
For example:
- controller class is TestController, which is a subclass of
ApplicationController
- associated model class is Test
How could I write some code in a method of ApplicationController to
dermine the current
2006 Jul 02
1
faster server
Hi All,
I am running a Rails application on a VPS using Lighttpd/Debian-Stable
and it seems something is slowing the whole thing down.
If I watch the production log - it seems the website is rendered quite
fast but when I reach the website using my favorite browser (or even my
less favorite..) it is loading too slow.
Thanks,
D.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
1
ajax render_partial
Hi,
i was hoping someone could reffer me to a doc or an explination (i
haven''t found anything) for rendering a partial via an ajax request - -
i know i could probably do it via
link_to :action => x
and then
def x
render_partial ''y''
end
but i was hoping ther was something simpler, and more rails-like caller
such as
render_ajaxed_partial
2006 Jun 13
2
securing a file
Hi,
I want to allow the downloading of specific file only to authorized
user,
lets say an MPEG.
where do I start? ;-)
Thx,
Dor.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 25
0
rubyful_soup replace element
Hi,
well, how do i replace an element with rubyful_soup ??
I tried
soup = BeautifulSoup.new(input)
elemnt = soup.find(''quote'')
elemnt = tag(''<div></div>'')
elemnt = ''<div></div>''
elemnt.replaceWith(''<div></div>'')
elemnt = BeautifulSoup.new(''<div></div>'')
elemnt
2006 May 28
2
"if" clause in the view - - - (for two objects)
Hi,
sorry to bother you guys with a simple sytnax question;
i have a loop of objects taking place (ie, for page in
@pages....xxxxxxx....end) and a link associated to each pages so that in
the end it looks like this:
page1 (link)
page2 (link)
page3 (link)
.
.
.
page n (link)
(all of this done by putting a simple ''link to'' in the for loop.)
now i need to seperate two pages
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
This is the code:
1 require ''rubyful_soup''
2 require ''open-uri''
3
4 url = "http://www.google.com/search?q=ruby"
5 open(url) {
6 |page| page_content = page.read()
7 soup = BeautifulSoup.new(page_content)
8 result = soup.find_all(''a'', :attrs => {''class'' => ''l''})
9 result.each {