hi,
anyone help for act as commentable
with option for replying a comment or nested set of pluins.
plz help imm.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To
I'm having the same issue and installed gems without user sudo.
Fernando Brito wrote:
Looking at your error
gcc -I.
-I/Users/yves/.rvm/rubies/ruby-1.9.2-preview3/include/ruby-1.9.1/x86_64-darwin10.4.0
Do you see that there are 2 ruby versions there?
RVM suggests you to always install gems
Anthony Green wrote:
I'm having the same issue and installed gems without user sudo.
Fernando Brito wrote:
Looking at your error
gcc -I.
-I/Users/yves/.rvm/rubies/ruby-1.9.2-preview3/include/ruby-1.9.1/x86_64-darwin10.4.0
Do you see that there are 2 ruby versions there?
RVM suggests you
More digging and the answer is to install monrel pre-release
gem install mongrel --pre
Anthony Green wrote:
Anthony Green wrote:
I'm having the same issue and installed gems without user sudo.
Fernando Brito wrote:
Looking at your error
gcc -I.
I installed ruby 1.9.1 with the 1.9 suffix, and I think ./script/server
is confused and is trying to run the old ruby stuff that ships with OSX.
Does it mean I have to reinstall everything from scratch with the
+nosuffix flag?
Thanks
I confirm I needed to reinstall ruby with +nosuffix.
When trying to debug a Rails 3 app with RadRails 2.0.4, I'm running into
a problem with gem loading, apparently. See below for a stack trace.
That problem disappears, when I move Gemfile out of the way, but, of
course, then other necessary gems aren't loaded.
From my Debug Configuration
What is the ActionPack framework?
And, a thing that really confuses me a bit is: What do we mean by an
application framework?
And, is Rails considered a web application framework?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Can we make just one restful action singular?
Here's my situation.
I have a user model. Hence:
[code]
ActionController::Routing::Routes.draw do |map|
...
map.resources :users
...
end
[/code]
But now the problem is whenever a user wants to edit his profile the
corresponding path for this
Utsav Gupta wrote:
Can we make just one restful action singular?
Here's my situation.
I have a user model. Hence:
[code]
ActionController::Routing::Routes.draw do |map|
...
map.resources :users
...
end
[/code]
But now the problem is whenever a user wants to edit his profile
giorgio wrote:
I have just started using rad rails again after a long stint on
netbeans.
Why? That's going from bad to worse.
NetBeans: excellent IDE, too heavy for Rails
Aptana: less good IDE, *still* too heavy for Rails
Just forget about IDEs and use a good editor such as KomodoEdit.
Hi,
Recently I've been trying to add permalinks to my rails system, so
because I had my new OS just installed I installed ruby and rails and
all of the things I had before..
Then I downloaded my application files directly from the web, and
attempted to run the server; when I visit it in my
Hiii GUys..
any body help me?? could u all tell me WYSIWYG for rails3 beta 4??
Thank you.
--
Senior Rails Developer
Anton Effendi - Wu You Duan
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send
Sent from my iPhone
On Jun 20, 2010, at 9:42 AM, Joe j...@dev-hq.co.uk wrote:
Hi,
Recently I've been trying to add permalinks to my rails system, so
because I had my new OS just installed I installed ruby and rails and
all of the things I had before..
Then I downloaded my application files
Sent from my iPhone
On Jun 20, 2010, at 4:50 AM, Fernando Perez li...@ruby-forum.com
wrote:
I installed ruby 1.9.1 with the 1.9 suffix, and I think ./script/
server
is confused and is trying to run the old ruby stuff that ships with
OSX.
Does it mean I have to reinstall everything
Hello
I am trying out Google Charts for the first time.
There is a rectangular container to the Chart and then the Chart
itself inside.
There is a lot of space wasted in some kind of padding within the
actual chart and the container.
I tried playing around with width and height parameters still
Ritvvij Parrikh wrote:
Hello
I am trying out Google Charts for the first time.
There is a rectangular container to the Chart and then the Chart
itself inside.
There is a lot of space wasted in some kind of padding within the
actual chart and the container.
I tried playing around with
Ok... i was doing it in Rails.. though. thanks.
On Jun 20, 1:00 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Ritvvij Parrikh wrote:
Hello
I am trying out Google Charts for the first time.
There is a rectangular container to the Chart and then the Chart
itself inside.
There is a
When trying gem install sqlite3-ruby; it spits out no definition
for libversion.
And when trying to rake gems:install it seems to think that
everything is absolutely fine.
Please note although I dont think it'll make a difference I get this
on starting the application:
When trying gem install sqlite3-ruby; it spits out no definition
for libversion.
And when trying to rake gems:install it seems to think that
everything is absolutely fine.
Please note although I dont think it'll make a difference I get this
on starting the application:
I'm still struggling with the self reference. I *THINK* I'm getting
close. I have the following tables:
class CreateCategories ActiveRecord::Migration
def self.up
create_table :categories do |t|
t.string :name, :limit = 40
t.timestamps
end
end
end
class CreateRelationships
On 20 June 2010 19:12, Michael Satterwhite li...@ruby-forum.com wrote:
class CreateRelationships ActiveRecord::Migration
def self.up
create_table :relationships, :id = false do |t|
t.integer :category_id
t.integer :parent_id
t.integer :sort_order
t.timestamps
end
I like the IDE approach overall. Netbeans has some nice autocomplete
features that really help in writing the code, but then again a simple
editor can work well too.
For the gitignore, just add a pattern of which files you don't want
included either in the root directory or in the specific
On 20/06/2010 07:44, giorgio wrote:
I have just started using rad rails again after a long stint on
netbeans.
It seems to generate loads of files like:
app/views/group/.tmp_group_summary.rhtml.99932
I want to make git ignore all these .tmp files but my entries in
gitignore have so far been of
On 20/06/2010 17:18, Marnen Laibow-Koser wrote:
snip
/users/edit would seem like it's supposed to edit *all* users. You
probably want something like /user/edit .
snip
Sorry, going to commit the sin of not answering your question directly :)
Would an approach such as this not make your
On 20/06/2010 01:08, Omar Renteria wrote:
But it exists...in deed when I try the same param in rails console the
object is found.
snip
Are both cases (console and code running on server) running under the
same environment? E.g. development vs production
--
You received this message because
Seems others are having this issue on Windows as well.
Try here for some direction:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/bd7ec8e1dab4ff17
Hope this helps
On Jun 20, 2:11 pm, Joe j...@dev-hq.co.uk wrote:
When trying gem install sqlite3-ruby; it spits out no
If you're using Rails 3, it is recommended that you use Ruby 1.9.2.
If this is the case, then you might want to use RVM for installing
Ruby by doing the following:
rvm install 1.9.2- head
Good luck,
-Conrad
I'm still running 2.3.8 until 3 goes official. I'll give a try at RVM.
By the
Rory McKinley wrote:
On 20/06/2010 17:18, Marnen Laibow-Koser wrote:
snip
/users/edit would seem like it's supposed to edit *all* users. You
probably want something like /user/edit .
snip
Sorry, going to commit the sin of not answering your question directly
:)
Would an approach such
On Sun, Jun 20, 2010 at 11:54 AM, Fernando Perez li...@ruby-forum.comwrote:
If you're using Rails 3, it is recommended that you use Ruby 1.9.2.
If this is the case, then you might want to use RVM for installing
Ruby by doing the following:
rvm install 1.9.2- head
Good luck,
On 20/06/2010 20:59, Marnen Laibow-Koser wrote:
snip
Wrong. If that were so, map.resource wouldn't exist.
snip
I think I explained myself badly - I am not arguing that you cannot do
it - but I was stating that for a consumer of the user/edit resource -
the consumer needs to know internal
Look at your link_to in the index.html, it should contain the id for
the story you want to show.
Also, check to make sure that you have the to_param method in your
model, story.db and that it's correct. The author implements a
complicated beautification of the urls which is a waste in the course
Your input/experience appreciated. I have noticed multiple
discussions regarding husband and wife. But none really end in a
this is a the best way to handle things. Here is my situation. I'm
recording information on couples -- husband and wife, one of each. If
the two are no longer married,
Hi everyone!
Im having troubles with my routes.rb, i set map.namespace :admin so i
can enter to my scaffold 'contacts' via admin/contacts', but the view
its crashing showing this error:; *undefined method `contact_path' for
#ActionView::Base:0xb6743be4*
The question is: 'where is *contact_path*
Can't you declare the resource in the singular form?
http://api.rubyonrails.org/classes/ActionController/Resources.html#M000308
On Jun 20, 3:12 pm, Rory McKinley rorymckinleyli...@gmail.com wrote:
On 20/06/2010 20:59, Marnen Laibow-Koser wrote:
snip Wrong. If that were so, map.resource
On 20 June 2010 20:05, dkmdnielsen donvniel...@gmail.com wrote:
Your input/experience appreciated. I have noticed multiple
discussions regarding husband and wife. But none really end in a
this is a the best way to handle things.
http://qntm.org/gay
Of course, you can stop at level 7 or 8 if
I have an app
that does a number of collection_selects. There are two general
methods of getting the data and displaying it that I am aware of.
You can do a find in the controller and assign the result to an
instance variable and do the collection_select stuff in the view.
Alternatively you
class AlbumSong ActiveRecord::Base
MAX_SIZE_IN_MB = 10
has_attachment :content_type = 'audio/mp3',
:storage = :s3,
:max_size = MAX_SIZE_IN_MB.megabytes
acts_as_indexed :fields = [:title, :author],
:index_file = [Rails.root.to_s, tmp, index]
belongs_to :album
I'm trying to figure out how to use ActiveRecord in conjunction with
ARel. In particular, I'd like to replace my residual literal SQL with
ARel, if only I could see how.
Let's take Article with multiple Versions as an example. With ARel
alone, I can find articles with their latest versions
Hey everybody,
I am currently following the depot application from the book Web Agile
Development with Rails (3rd Edition) but after creating the controller
for the Store and the Cart model, I am always getting a nil product, no
matter how many products I add to the database.
I am very new with
You doing this all by hand? or using
http://code.google.com/p/google-charts-on-rails/
or something comparable?
On Jun 20, 2:04 pm, UA ritvi...@gmail.com wrote:
Ok... i was doing it in Rails.. though. thanks.
On Jun 20, 1:00 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
Ritvvij
Manuel Manuel wrote:
Hey everybody,
I am currently following the depot application from the book Web Agile
Development with Rails (3rd Edition) but after creating the controller
for the Store and the Cart model, I am always getting a nil product, no
matter how many products I add to the
Haribhau Ingale hari31...@... writes:
I mean delete books table manually from Database if you don't have two
migration files creating books table.
On Sat, May 29, 2010 at 3:49 PM, Haribhau Ingale
hari31...@gmail.com wrote:Hi, Can you just
check once again that you don't have two migration
Hi,
Thanks for your help.
Chamnap
On Jun 17, 8:53 pm, Leonardo Mateo leonardoma...@gmail.com wrote:
On Thu, Jun 17, 2010 at 12:30 AM, Chamnap chamnapchh...@gmail.com wrote:
I remember there is a gem on github that is able to display tabular
view like mysql console in script/console. Anyone
I'm testing Rails 3 beta 4 on Ruby 1.9.2-head, and when I start a
console and do:
Game.first.to_sql
I get this error:
ArgumentError: wrong number of arguments (0 for 1)
I know it can find the Game record, because when I type:
Game.first
it returns:
= #Game id: 1, name: Galaga,
Hello,
Does someone know a Gem or a plugin that can help me building something like
this advance search: http://demo.neeraj.name/admin_data/advance_search/user?
I like it because it knows if it is an integer field or string field
and automatically fill the select field with the correct options
45 matches
Mail list logo