I run rake and I get this error. What's that supposed to mean? Sorry I'm newbie to RoR sb please help. Thanks a lot.
undefined method `reserved=' for #
On Windows, can we put different folders in 1 SVN repository?
Such as putting
c:\ror
c:\software projects\ruby
c:\js test
d:\peter_website
all in 1 SVN repository called code ?
In Symfony i just have to create models with ORM Designer and export it to symfony as a schema.yml and then use a symfony command to create tables, models and forms.
I wonder if there is an equivalent to the RoR so that you dont have to create models manually by hand?
It saves a lot of time using GUI for this kind of tasks and it is less error-prone.
thanks
It is said that FastCGI doesn't work well with Ruby on Rails deployment. Why is that? In previous experience, something either works quite well or it might be fundamentally wrong. So if FastCGI is a viable solution, why is it not reliable with RoR?
Does FastCGI work well with most any language / frameworks?
I love iPython and am learning RoR along with some libraries like Mechanize and I'd like to be able to easily see what I'm working with in terms of introspection. I would like to be able to type "." + TAB and see.
On Windows, can we put different folders in 1 Git or Mercurial (hg) repository?
Such as putting
c:\ror
c:\software projects\ruby
c:\js test
all in 1 Git or Mercurial repository called code ?
Is there any good tutorial on how to get things installed and working on Mac OS X Snow Leopard? Also which tools do you use? TextMate? Or something else?
I am trying my first steps with RoR after years of ASP.NET development on Windows platform but I am getting curious to learn other things as well to become a better developer.
Hi all,
I am a seasoned .net developer and using VS.net all the time. Now, I would like to learn Ruby on Rails using emacs. Since I'm pretty new to Linux, it would be great if someone show me step by step tutorial to setup emacs for RoR develpment.
hi,
I m working on this ror application, need to setup priviledge on different user account. anyone know how to do that? any good links to recommend? Thanks.
Hi,
I have a RoR application and model SomeModel. I have views for this model and I want to know - is there any method to get the view's path? Of course I can use for this model instance
m = SomeModel.new
v = m.class.class_name.pluralize.downcase
It's working, but maybe you know a better way? :)
I'm using nested routes and I want to provide some sort of a shortcut method. (I'm using RoR 3.0)
The routes look like this.
resources :countries do
resources :regions do
resources :wineries
end
end
To access a winery route I want to be able to define a function that removes the need to specify a country and region each time. Like:
def winery_path(winery)
country_region_winery_path (winery.country, winery.region, winery)
end
Where should I do this? How can I get that to be available whereever url_for is available?
Hello,
I have been working with java and python, so I found a nice web host which has support for these.
But my question is, why can you find so hard such hosts?
I understand that php is easy, I also understand that oracle host is hard to find ($$$ of course), but what do they have against some good open-source, completely free java spring, jsp, django, python, ror, perl etc etc ....
So rare to find hosts ... not to mention freelancer bids
Thank you.
Am pretty new to ROR. Need help in Rails form validation.
Hey, am using rails 2.3.5
I have a basic validates_presence_of for the fields in the form.
Now when i don't enter field details, i do get an error, but the error is displayed as:
{{count}} errors prohibited this {{model}} from being saved
There were problems with the following fields:
{{attribute}} {{message}}
{{attribute}} {{message}}
Any help will be highly appreciated.
I'm building an ror site and have been asked by to put a temporary access restriction on it. All that's needed is a general access restriction and common access info which can be emailed to invited beta users. The site is deployed on an apache server (on a mac) using passenger. I'm wondering what solutions there are?
Am pretty new to ROR. Need help in Rails form validation.
Am using rails 2.3.5
I have a basic validates_presence_of for the fields in the form.
Now when i don't enter field details, i do get an error, but the error is displayed as:
{{count}} errors prohibited this {{model}} from being saved
There were problems with the following fields:
{{attribute}} {{message}}
{{attribute}} {{message}}
Any help will be highly appreciated.
Hey all,
I'm looking for a HTML editor which can be (easiliy) integrated in a RoR app that has the possibility to create forms.
Not forms per se, but I need the possibility to add radiobuttons, input fields, checkboxes and so on.
I loved the smoothness of TinyMCE, but apparently this doesn't take me far enough.
Does there exists such a gem/plugin?
Thanks!
As an ASP.NET developer, I'm used to working with how VS/C# transparently autogens proxy classes for web references (yes, I know, we're spoiled), but now that I'm creating documentation for more than one coding platform I'm trying to discover what the equivelant to that is in any other framework.
So is there a similar way to work transparently with web reference proxy classes for say, RoR, PHP, and Python?
And if there's nothing integrated, are there tools you recommend to autogen the proxy classes, or do you recommend to roll custom classes?
HI,
I used to have PHP websites and using url rewriting on picture to have SEO friendly urls,
On php I had links like
/image/blablablabla-1234-blablabla
rewriting to:
/image/1234.jpg
by using a url rewrite rule on apache .htaccess file.
Now I totally switched to ruby on rails and I would like to know what is the best way to do that on RoR? I am hosting websites on apache with passenger.
Thanks in advance
As an ASP.NET developer, I'm used to working with how VS/C# transparently autogens proxy classes for web references (yes, I know, we're spoiled), but now that I'm creating documentation for more than one coding platform I'm trying to discover what the equivelant to that is in any other framework.
So is there a similar way to work transparently with web reference proxy classes for say, RoR, PHP, and Python?
And if there's nothing integrated, are there tools you recommend to autogen the proxy classes, or do you recommend to roll custom classes?
Please advise a php framework for fast developing and for don't digress to write often using code(auth, db/orm,etc..).
Requrements:
Active community
Easy to use
simple many to many and many to one relations
auth. mechanism
RoR like
Please sorry for english.
I've just gone to installed RoR on my snow leopard mac.. and found the rails gem was already installed..
is this normal? Does it need updating?
Does this get installed along with textmate?
Hi i am not able to show up Fusion charts using RoR 2.3.5, just trying to showup the single_series array method for 3d bar graph
Anybody has similar issue ? please help
I am interested in developing a workstation-based application that communicates with a proprietary data server and that presents information from that server to the user. I am not intending the user interface to be browser-based, and have been considering Qt as my framework. Should I consider RoR for this? Thanks.
Hey all,
I'm very new to RoR, and am trying to implement a user login system. I've got most of it working, but I'm trying to work out how I refer to the logged in user across many different views/controllers etc. Can I store the user in the session? Or is there a better way to do it?
Thanks for reading
How to identify which server side script language was used with a web site?
Asp.Net? PHP? RoR? Java? or other?
For example, Which server side script language was used with stackoverflow.com?