Thanks.. this is helpfull
Greetings
On Wednesday, September 19, 2012 6:09:48 PM UTC+2, Ruby-Forum.com User
wrote:
class User
attr_accessor :id, :name
def initialize(id, name)
@id = id
@name = name
end
end
charlie = User.new(9, 'Charlie')
fred = User.new(1,
I am looking for Ruby on Rails developers to join a fast growing company
that is based out of Portland, OR. The software stack Ruby on Rails,
JavaScript, MySQL and Linux, and practice TDD; you’ll need to have
experience with all of these. Any work on iPhone and Android apps is a
plus!
The latest version of Fedena - the opensource school management system is
now available to public for free download.
Official Blog post - http://projectfedena.org/blog/17-fedena-2-3-released
Github - https://github.com/projectfedena/fedena
Download instructions -
I want to store data in an hstore column but I want the user to input
attribute dynamically. Like {x = y} is stored where user enters both x
and y. how can I do that?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group,
I worked on a gem that allows you do just this a while ago. Once I find where
the source is stashed, I'll post it up
--
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-talk@googlegroups.com.
Thanks
On Thursday, 20 September 2012 14:47:24 UTC+5:30, iGbanam wrote:
I worked on a gem that allows you do just this a while ago. Once I find
where the source is stashed, I'll post it up
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Hi there I wrote a small rails app for my university dept about a year or
so ago to deal with mailing list generation and display of staff details
and all was working fine up until last week when we did a version update.
Im not someone who uses rails regularly and so Im a bit at a loss.
The
Can you show us the code from the method show from this controller?
/export/cree/raid/htdocs/users/app/controllers/users_controller.rb:33:in `show'
--
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
Here it is... the normal display index and show functionality still works
fine.
# GET /users/1
# GET /users/1.xml
def show
require 'curb'
@user = User.find(params[:id])
if File.exist?
/home/#{@user.Personal_Web}/public_html/userdetails.html
#
Hi,
I am new to ROR and learning it. In my controller I have an admins
record and I am passing that admin object to the admin's view page to
get the name of the admin. But when I try to access the name it is
showing error as undefined method `name' for :current_admin:Symbol..
Please help..
Hi,
See my comments inline:
Regards,
Seeni Rafiyullah Khan A,
srk...@apigee.com*In Every moment, thank God.*
On Thu, Sep 20, 2012 at 4:15 PM, ruby rails li...@ruby-forum.com wrote:
Hi,
I am new to ROR and learning it. In my controller I have an admins
record and I am passing that admin
Rafi A wrote in post #1076789:
Hi,
See my comments inline:
Regards,
Seeni Rafiyullah Khan A,
srk...@apigee.com*In Every moment, thank God.*
On Thu, Sep 20, 2012 at 4:15 PM, ruby rails li...@ruby-forum.com
wrote:
You are trying to get the admin name from the symbol :( and hence
How is your user model look like ?
On Monday, September 17, 2012 10:31:44 PM UTC+5:30, dasibre wrote:
Rails newbie here, I have been stuck on this for two days and can't figure
out why its not working.
I want users to confirm/verify themselves by entering their current/old
password before
Regards,
Seeni Rafiyullah Khan A,
On Thu, Sep 20, 2012 at 4:36 PM, ruby rails li...@ruby-forum.com wrote:
Rafi A wrote in post #1076789:
Hi,
See my comments inline:
Regards,
Seeni Rafiyullah Khan A,
srk...@apigee.com*In Every moment, thank God.*
On Thu, Sep 20, 2012 at
On Tuesday, September 18, 2012 8:30:54 AM UTC+5:30, jose ramirez wrote:
Hi! First of all, this is my first application on Rails, and i'm stuck at
a migration. i created a demo app (the demo_app from michael hartl's
tutorial) as usual: rails new demo_app, rails generate scaffold User
i converted pdf to images and the images back to pdf. While converting
back to pdf the images are not in order
for example if there are 14 images after the first image 10 image will
come then 11,12,13,14 and then 2,3,4,5,6,7,8,9
What is the problem?
--
Posted via http://www.ruby-forum.com/.
--
can you tell me how you converted Images to PDF, please tell i m new to
rails
On Thu, Sep 20, 2012 at 4:53 PM, kiran cy li...@ruby-forum.com wrote:
i converted pdf to images and the images back to pdf. While converting
back to pdf the images are not in order
for example if there are 14 images
1.9.3, I fixed it...
I had to rename a lib folder inside the .rvm directory, compile the
gem separately and then re-rename the folder...
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
On Thu, Sep 20, 2012 at 9:28 PM, ANIKET KADAM aniketkadam1...@gmail.comwrote:
can you tell me how you converted Images to PDF, please tell i m new to
rails
On Thu, Sep 20, 2012 at 4:53 PM, kiran cy li...@ruby-forum.com wrote:
i converted pdf to images and the images back to pdf. While
On Thu, Sep 20, 2012 at 9:28 PM, ANIKET KADAM aniketkadam1...@gmail.comwrote:
can you tell me how you converted Images to PDF, please tell i m new to
rails
you can use rmagick
http://lmgtfy.com/?q=convert+pdf+to+image+rmagick
On Thu, Sep 20, 2012 at 4:53 PM, kiran cy
Thanks
On Thu, Sep 20, 2012 at 5:08 PM, Jim Ruther Nill jvn...@gmail.com wrote:
On Thu, Sep 20, 2012 at 9:28 PM, ANIKET KADAM
aniketkadam1...@gmail.comwrote:
can you tell me how you converted Images to PDF, please tell i m new to
rails
you can use rmagick
ANIKET KADAM wrote in post #1076796:
can you tell me how you converted Images to PDF, please tell i m new to
rails
require 'RMagick'
images = Dir[/home/*.jpg]
imglist = Magick::ImageList.new
imglist.read(*images.natural_sort)
imglist.write(converted.pdf)
--
Posted via
On Thursday, September 20, 2012 11:13:54 AM UTC+1, DDale wrote:
# You can have the root of your site routed with map.root -- just
remember to delete public/index.html.
map.root :controller = users
I wonder if doing map.root and specifying only a controller (but not an
action) does
We are seeking a Senior Ruby Developer to work in a London based tech
start up, salary £30,000 - £55,000 dependant on experience.
If you know of anyone who may be suitable or if you would like more info
then please email me!
--
Posted via http://www.ruby-forum.com/.
--
You received this
For anyone to email you you would need to give them an email address.
Or is that part of the application process :)
--
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-talk@googlegroups.com.
To
Thanks
On Thu, Sep 20, 2012 at 5:14 PM, kiran cy li...@ruby-forum.com wrote:
ANIKET KADAM wrote in post #1076796:
can you tell me how you converted Images to PDF, please tell i m new to
rails
require 'RMagick'
images = Dir[/home/*.jpg]
imglist = Magick::ImageList.new
On Thu, Sep 20, 2012 at 3:45 AM, ruby rails li...@ruby-forum.com wrote:
I am new to ROR and learning it. In my controller I have an admins
record and I am passing that admin object to the admin's view page to
get the name of the admin. But when I try to access the name it is
showing error as
Hello all.
I'm a junior Rails/Ruby developer seeking for a Rails position (remote or
not).
GitHub: http://github.com/Agis-
I blog: http://agis.heroku.com
Twitter: http://twitter.com/corestudiosnet
If interested email me: corestudiosinc (at) gmail.com
Cheers,
Agis.
--
You received this
Instead of compiling it by hand, you specify the missing headers in the gem
command:
rvmsudo gem install pg -- --with-pg-lib=/usr/pgsql/lib/
--with-pg-config=/usr/pgsql/bin/pg_config
If you need to bundle install pg (or other gem that uses it), you could use
a bundle config file:
bundle
I have a strange issue on my Ruby on Rails app.
SOMETIMES when a record is being created I get this error:
A ActiveRecord::StatementInvalid occurred in conversations#create:
Mysql2::Error: Column 'created_at' cannot be null: ...
activerecord (3.2.8)
Hi,
I'm trying to add a plugin, but it doesn't work!
The button doesn't appear in the toolbar (the message is:unknown
element).
I've used tutorial like this one:
http://www.kindblad.com/2008/09/07/fckeditor-2x-how-to-add-a-new-button-with-custom-javascript-to-the-toolbar/
I've tested it on a
My error wasn't related to any missing headers, pg was being linked with
the wrong libraries.
--
Posted via http://www.ruby-forum.com/.
--
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
This was my exact same problem:
http://stackoverflow.com/questions/8814924/gem-install-pg-can-not-bind-to-libpq
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email
In the logs I am seeing this, could this be the key? (pardon the pun)
DEPRECATION WARNING: Giving :session_key to SessionStore is deprecated,
please use :key instead. (called from new at
/usr/lib64/ruby/gem/1.8/gems/actionpack-2.3.14/lib/action_controlle/middleware_stack.rb:72)
On Thursday,
Ah, that is a very good point Peter, thanks! Although I do believe you
can reply to me directly on the forum by clicking on my name.
For future reference, anyone wishing to email me please use
fi...@tlmsearch.com
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
Fiona
This is not a forum. It is a mailing list that is echoed to a forum.
The email address attached to your name is li...@ruby-forum.com. Which
means all responses will be sent to the list for all to see.
Peter
--
You received this message because you are subscribed to the Google Groups Ruby
On 20 September 2012 14:22, Enrico Pilotto pio...@gmail.com wrote:
I have a strange issue on my Ruby on Rails app.
SOMETIMES when a record is being created I get this error:
A ActiveRecord::StatementInvalid occurred in conversations#create:
Mysql2::Error: Column 'created_at' cannot be null:
Hi,
I am interested in the given profile.
Right now I am working on elseticsearch, and ror based application.
I am also learning nods.js and backbone.js as side by side to implement on
of my project.
Regards,
Mukesh
On Thursday, September 13, 2012 7:25:26 PM UTC+5:30, kenpersel wrote:
Work
Hi,
I am interested in the given profile.
Regards,
Mukesh
On Wednesday, September 19, 2012 8:08:49 AM UTC+5:30, lyosha wrote:
man.. why does everything is so slow on developing on windows?
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
I have been working with Ruby on Rails for about a week.
I am trying to figure out a problem.
I have a small relational database.
resources :client do
resources :department do
resources :task
end
end
What I want is to be able to add tasks while looking a specific show
of a department.
Hi, I'm a new RoR and Ruby developer and I'm searching for some good
resources (books or website) that go a little further than books like
the railstutorial (which is excellent btw).
But after reading this, I feel like as long as I'm working with
scaffolding and simple gems, it's ok, and a lot
I recommend these two:
http://www.amazon.com/Crafting-Rails-Applications-Development-Programmers/dp/1934356735/ref=sr_1_1?ie=UTF8qid=1348172437sr=8-1keywords=crafting+rails+applications
Hi John,
On Thu, Sep 20, 2012 at 1:52 PM, John B. li...@ruby-forum.com wrote:
I have been working with Ruby on Rails for about a week.
I am trying to figure out a problem.
I have a small relational database.
resources :client do
resources :department do
resources :task
end
end
Metaprogramming
Rubyhttp://www.amazon.com/gp/product/1934356476/ref=as_li_ss_tl?ie=UTF8tag=fernandoanet-20linkCode=as2camp=1789creative=390957creativeASIN=1934356476
2012/9/20 Everaldo Gomes everaldo.go...@gmail.com
I recommend these two:
Hey,
I'm able to duplicate everything in Ryan Bates' screencast on jQueryUI
autocomplete
(#102http://railscasts.com/episodes/102-auto-complete-association-revised),
except for the piece that calls the server for completion data.
Here is my view html:
input data-autocomplete-source=/searches
On Fri, Sep 21, 2012 at 9:12 AM, Lille lille.pengu...@gmail.com wrote:
Hey,
I'm able to duplicate everything in Ryan Bates' screencast on jQueryUI
autocomplete
(#102http://railscasts.com/episodes/102-auto-complete-association-revised),
except for the piece that calls the server for
1.9.3p0 :003 class A
1.9.3p0 :004? end
1.9.3p0 :009 A.is_a?(Module)
= true
1.9.3p0 :010 A.is_a?(Class)
= true
1.9.3p0 :011 Class.is_a?(Module)
= true
class is module, so answer is append_features is run
On Sep 20, 1:23 am, John Merlino stoici...@aol.com wrote:
append_features(mod)
There seems to be nothing wrong in your code. All I can think of that
causes this is if another dom element
has an id of search-markets. Can you confirm that your view only has one
dom with this id?
Yes, I confirm. I modified the code to ensure no interference...
We're looking for a message router/queing server. Leaning towards RabbitMQ.
Any opinions?
Thanks,
P
--
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-talk@googlegroups.com.
To unsubscribe
On Fri, Sep 21, 2012 at 10:25 AM, Lille lille.pengu...@gmail.com wrote:
There seems to be nothing wrong in your code. All I can think of that
causes this is if another dom element
has an id of search-markets. Can you confirm that your view only has one
dom with this id?
Yes, I confirm.
So that explains a lot.
When module B is included in class C, we extend
ActiveSupport::Concern, which invokes the extended hook in the module
Concern, passing module B as local variable base. We want to indicate
that module B is a concern, so we set an instance variable
@_dependencies on it set
There seems to be nothing wrong in your code. All I can think of that
causes this is if another dom element
has an id of search-markets. Can you confirm that your view only has
one dom with this id?
Yes, I confirm. I modified the code to ensure no interference...
On Fri, Sep 21, 2012 at 11:31 AM, Lille lille.pengu...@gmail.com wrote:
There seems to be nothing wrong in your code. All I can think of that
causes this is if another dom element
has an id of search-markets. Can you confirm that your view only has
one dom with this id?
Yes, I confirm.
This is what the code compiles to without '-'...
$('#search-markets').autocomplete({
source: /searches
});
That looks better to me, but it's not happening.
That's the right js. You should paste here the code which handles
requests to /searches.
Here's a curl to confirm that the
can you helpme upload file in rails
--
Posted via http://www.ruby-forum.com/.
--
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-talk@googlegroups.com.
To unsubscribe from this group, send
i want rename file before upload. can anyone help me
--
Posted via http://www.ruby-forum.com/.
--
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-talk@googlegroups.com.
To unsubscribe from
Not sure, because I was facing the same problem, I removed spaces
unnecessary symbols, it worked fine for me.
On Tuesday, September 18, 2012 9:22:34 PM UTC+5:30, keerthi priya wrote:
i tried that also but still the same.
On Tue, Sep 18, 2012 at 9:12 PM, Avi aavinas...@gmail.com
Is cancan is only used for CRUD operations?
Can we use it while navigating a page or any other functionality other than
CRUD operations?
--
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
On Fri, Sep 21, 2012 at 2:57 PM, Avi aavinash.beh...@gmail.com wrote:
Is cancan is only used for CRUD operations?
Can we use it while navigating a page or any other functionality other
than CRUD operations?
yep. look at
https://github.com/ryanb/cancan/wiki/Authorizing-controller-actions
59 matches
Mail list logo