[Rails] Re: What is the sequential steps of installing RoR?

2009-05-17 Thread dejan dimic
You can look these ones too http://articles.slicehost.com/rails They are very informative. On May 10, 7:35 pm, sheru wrote: > Hi Robert, > Thank you for your response. As I am searching good php framework, so > went to ruby on rails hoping this could be one option. > But still I am new for this.

[Rails] Re: Making a Little Application

2008-12-26 Thread Dejan Dimic
Ruby on Rails in not a magic wand even you can do a magical stuff with it. I have read your description a couple of times and with a "I am missing something" filing. Perhaps you should first do a simple paper prototyping and then when all actions are known and clear move to implementation. Since

[Rails] Re: Seperate Date and Time strings into DateTime format

2008-12-26 Thread Dejan Dimic
Databases usually have a Date and Time set of functions and you can use them to combine this two parts in one DateTime. As suggested you can always use DateTime.strptime or Time.parse and Time.to_datetime or any other way of string to DateTime transformation. You should ask your self do you need

[Rails] Re: twitter gem not getting installed

2008-12-22 Thread Dejan Dimic
This is a common problem on windows platform where development tools (compiler and linker) and libraries are not in the path. On Dec 22, 10:48 pm, SP wrote: > Hi, > > Unfortunately this isn't the right group to post this query, but since > I see similar questions about Twitter4R were previously

[Rails] Re: Cron scheduling for daemon gem

2008-12-22 Thread Dejan Dimic
If you need to perform some action at particular time then you should test is is a time to action. If time is right, do you thing. If not then sleep a while and then test it once again. You can have an initial sleeping interval and then you can adjust in correlation how far is the next running ti

[Rails] Re: how to use set_primary_key?

2008-12-22 Thread Dejan Dimic
I have used the set_primary_key with some 3rd party propriety databases with no issues you describe. Could you give us some more information (table structure and such) to be able to help you adequately. On Dec 22, 10:51 pm, Kenneth McDonald wrote: > We are trying to use set_primary_key to caus

[Rails] Re: Running a rails project in another folder

2008-12-22 Thread Dejan Dimic
It is custom to copy the folder from one location to another and then adjust the database.yml if required and other dependent configuration settings. How do you verify that your application on pc using mongrel is running? What database are you using? What is the contents of application log file

[Rails] Re: mysql problem

2008-12-14 Thread Dejan Dimic
and the error is? On Dec 14, 10:09 pm, "titomafia...@gmail.com" wrote: > i have a problem on rails (error message Mysql::Error in > FokashController#index --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rai

[Rails] Re: Bar Chart in Rails

2008-12-06 Thread Dejan Dimic
You can even try http://code.google.com/apis/chart/types.html#bar_charts but all depends on your application needs ;-) On Dec 6, 8:13 pm, Andy <[EMAIL PROTECTED]> wrote: > I highly recommend the Ziya gem. Fairly easy to use and you have a ton > of control over all the aspects of the chart. There

[Rails] Re: emacs rails setup

2008-10-26 Thread Dejan Dimic
Take look at: http://devcraft.wordpress.com/2008/07/19/using-emacs-for-rails-development-the-perfect-setup/ http://dima-exe.ru/rails-on-emacs http://lathi.net/pages/emacs-ruby http://www.emacswiki.org/emacs-en/RubyOnRails On Oct 26, 7:31 pm, Rick <[EMAIL PROTECTED]> wrote: > Roger, > > You might

[Rails] Re: Export to Excel - large file

2008-10-26 Thread Dejan Dimic
You can try http://spreadsheet.rubyforge.org/ There are two ways to produce an Excel file from your data. Ole and Xml way. I like Xml way more. Take look at http://wiki.rubyonrails.org/rails/pages/HowToExportToExcel too. Could you give us more information about Excel file or a sample so we can

[Rails] Re: Sending emails in the background

2008-10-25 Thread Dejan Dimic
Take look at: http://railscasts.com/episodes/129-custom-daemon or http://seattlerb.rubyforge.org/ar_mailer/classes/ActionMailer/ARMailer.html On Oct 25, 9:38 am, Tam Kbe <[EMAIL PROTECTED]> wrote: > Hello, > > Part of my application sends emails to many users notifying them with > new post. For s

[Rails] Re: So many users, so little time - looking for a better way

2008-10-21 Thread Dejan Dimic
First of all this is not an easy task. There are two main part to for fill this task: gathering of users that needs to remind and sending the actual reminder. Depending of your application data structure the selection of users should be done by the used database engine as they are build for that

[Rails] Re: TextMate Bundle using Gedit

2008-10-18 Thread Dejan Dimic
You should try the VIM also for ruby and Ruby on Rails development. http://rails.vim.tpope.net/ On Oct 18, 7:47 pm, "jason white" <[EMAIL PROTECTED]> wrote: > thank you all for your responses. i will have to give Gmate a try. I have an > old iBook G3 (it's 8 years old) and still works. I've bee

[Rails] Re: Regular Expression pattern matching question...

2008-10-06 Thread Dejan Dimic
you can always use http://www.rubular.com/ to test your RexExp. On Oct 6, 10:25 pm, "Johannes J. Schmidt" <[EMAIL PROTECTED]> wrote: > eg /(\d+\.){0,1}\d+$/ > > g jo > > Am Mittwoch, den 24.09.2008, 16:20 -0700 schrieb ressister: > > > Hi there, I'm trying to split a string using RegExp to extrac

[Rails] Re: count number of lines in a file with file.open

2008-10-03 Thread Dejan Dimic
file_out = File.new("file_name", "r") file_out.each_line do |line| do_the_stuf_vith line end On Oct 3, 11:32 pm, Morgan Morgan <[EMAIL PROTECTED]> wrote: > ok so i'm trying to just read out a file line by line and i can't seem > to figure out how to not get an EOFerror...  is there some way to

[Rails] Re: Why PostgreSQL doesn´t appear on the pro ject?

2008-10-03 Thread Dejan Dimic
This is a historical heritage. Most web developers has been use MySQL in the past specially with Php. Nowadays, the development is moving to other databases like SQLite and PostgreSql. The overall awareness will follow. On Oct 3, 10:06 pm, "Robby Russell" <[EMAIL PROTECTED]> wrote: > On Fri, Oct

[Rails] Re: Improvements for rails development on linux with gedit

2008-10-03 Thread Dejan Dimic
This is always nice to hear. I will definatelly try it . On Oct 3, 10:11 pm, Alexandre <[EMAIL PROTECTED]> wrote: > Hi, > > For those linux and gedit users, here I have some improvements: >   Smart Indent >   Syntax Color Improved >   Extract Partials, and some more plugins > > http://alexandreda

[Rails] Re: Regular expression to identity special character

2008-09-28 Thread Dejan Dimic
You can use http://www.rubular.com/ to test and find the regex you need. On Sep 28, 2:08 pm, MarcRic <[EMAIL PROTECTED]> wrote: > Hi Abhishek, > > Take a look on this article: > > http://marcricblog.blogspot.com/2008/08/bitwising-ruby.html > > More specifically, the last example. > > On that cas

[Rails] Re: Realising a rights management

2008-09-27 Thread Dejan Dimic
As I understand you are talking about permissions, user permissions. It seams logic to me to have a UserPremission model to deal with it. It could have a list of action it is permit to perform and a way to check public actions. You can look at http://redmine.org solution of this issue in their ap

[Rails] Re: Very special app design question

2008-09-08 Thread Dejan Dimic
This is a bit to confusing to me. You should first have to write a story, a game story. Try to make it as descriptive as that other developers could understand your idea and could programmed it base on that story. Deliberately Rspec is not mentioned as you should be able to state your story in pla

[Rails] Re: ActiveRecord not writing to tables

2008-09-07 Thread Dejan Dimic
When you do this code > wf = WeeklyFixture(6) # where 6 is an id in the table so the wf is > found! > wf.football_fixtures[0].name = "value" > wf.save! the wf has not been changed in any way. It point in the same football_fixtures item by its foreign key. The football_fixtures has changed and yo