yes, it will work
On Jan 10, 1:34 am, JD wrote:
> On Jan 9, 6:14 pm, Frederick Cheung
> wrote:
>
> > On Jan 9, 1:10 pm, JD wrote:
>
> > > Hello all,
>
> > > I'm relatively new to rails and have been doing ok with it but I have
> > > run into an issue that I'm sure has a really easy solution tha
You can find on Github, and on RubyForum.org.
I suggest you to install some software like in Ubuntu you can use Ruby
Browser.
A pro developer suggested me to read the codes of these projects
because it's so pure:
rack-cache http://rtomayko.github.com/rack-cache/
Bacon test framework (also on Guth
Spam, don't pay for it.
On jan. 6, 13:33, Rajarshi wrote:
> if send me some money i will give you some best book of ruby but u have to
> pay 100$ for it
>
>
>
>
>
>
>
> On Thu, Jan 6, 2011 at 5:23 PM, Colin Law wrote:
> > On 6 January 2011 10:18, Thuy Nhien wrote:
> > > Where can I find example
Please quote when replying.
Fritz Trapper wrote in post #973537:
> And what about webmin?
What about it?
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
Sent from my iPhone
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribe
And what about webmin?
--
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-t...@googlegroups.com.
To unsubscribe from this group, send email to
ruby
On Sun, Jan 9, 2011 at 4:28 PM, djangst wrote:
> rubygems.org is (again) the definitive source:
>
> http://update.gemcutter.org/2010/02/20/rubygems-org-move-complete.html
Ah, crap. Guess I missed that memo :-)
Never mind, then, and sorry for the noise.
--
Hassan Schroeder ---
> Is there a more specific proposed pathway.
RUBY
Ruby home page: http://www.ruby-lang.org/en/
and the link they list for suggested Ruby books:
http://www.amazon.com/s/ref=sr_nr_n_5?ie=UTF8&rs=1000&keywords=Ruby&rh=i:aps,k:Ruby,i:stripbooks,n:1000,n:5
RAILS
http://railstutorial.org/ - a free
Hassan,
rubygems.org is (again) the definitive source:
http://update.gemcutter.org/2010/02/20/rubygems-org-move-complete.html
gemcutter.org redirects to rubygems.org.
On Jan 9, 7:01 pm, Hassan Schroeder
wrote:
> The reference to rubygems.org is out of date.
--
You received this message beca
On Jan 9, 2011, at 6:46 PM, SW Engineer wrote:
So @walter, what do you recommend to approach healthcare through RoR?
Healthcare is much too large a target for me to say "do this" or "read
that". I worked for several years at Medical Broadcasting Corporation,
now Digitas Health, and worke
On Fri, Jan 7, 2011 at 8:10 PM, Arjun Kishore wrote:
> This is my gem env
> - REMOTE SOURCES:
> - http://rubygems.org/
> gem install rails
> ERROR: http://rubygems.org/ does not appear to be a repository
> ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
The reference t
So @walter, what do you recommend to approach healthcare through RoR?
--
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-t...@googlegroups.com.
To u
Fritz Trapper wrote in post #973449:
> That's also not very wise, since I occasionally use phpmyadmin myself.
> (In normal mode, it is stopped and a cronjob stops it automatically
> every night for security.)
That's not wise at all. PhpMyAdmin has known security holes, and there
are better MySQL
This is my gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [i686-linux]
- INSTALLATION DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136
- RUBY EXECUTABLE: /home/arjunkishore/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
- EXECUTABLE
On Jan 9, 2011, at 3:34 PM, gezope wrote:
I think Rails is for web applications. First of all you have to decide
if your application will contact to the net? It seems not this is the
main functionality of your application, and noone will check his
cancer on Facebook.
I've built two intranet
Hello, I like your question, because we was working on several
tutorials and books.
I can accept this advice about automating something. But it has
nothing about study path, adn the question was about study path, isn't
it?
I think Rails is for web applications. First of all you have to decide
if
On Jan 9, 6:14 pm, Frederick Cheung
wrote:
> On Jan 9, 1:10 pm, JD wrote:
>
> > Hello all,
>
> > I'm relatively new to rails and have been doing ok with it but I have
> > run into an issue that I'm sure has a really easy solution that I just
> > can't seem to see.
>
> Do you want admin_carriers
Well I've figured this one out so no worries.
On Jan 9, 1:10 pm, JD wrote:
> Hello all,
>
> I'm relatively new to rails and have been doing ok with it but I have
> run into an issue that I'm sure has a really easy solution that I just
> can't seem to see.
>
> Basically I have an app and have name
On Jan 9, 1:10 pm, JD wrote:
> Hello all,
>
> I'm relatively new to rails and have been doing ok with it but I have
> run into an issue that I'm sure has a really easy solution that I just
> can't seem to see.
>
Do you want admin_carriers_path? You can probably simplify things
simply by saying
On Jan 9, 4:15 pm, Daniel Amsterdam wrote:
>
>
>
>
> When i google the error Please install the mysql2 adapter: `gem
> install activerecord-mysql2-adapter` (no such file to load --
> active_record/connection_adapters/mysql2_adapter) people say: 'try the
> mysql2 gem' i don't underst
Hello all,
I'm relatively new to rails and have been doing ok with it but I have
run into an issue that I'm sure has a really easy solution that I just
can't seem to see.
Basically I have an app and have namespaced and admin section to it.
I'm getting the following error:
No route matches {:acti
On 9 January 2011 15:20, Alpha Blue wrote:
> Hey Colin,
>
> I'm in the process of putting together the bitfields permission system
> into a gem in case someone wants to use a different set of authorization
> for their app. When I get it done, I'll publish it and let you know the
> name and git ad
okee, i've reinstalled the gem, usr/local/mysql/bin/mysql_config is
the correct path.
$ gem install mysql2 -- --with-mysql-config=/usr/local/mysql/bin/
mysql_config
Fetching: mysql2-0.2.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed mys
Thank you so much!
The tutorial I was following had attr_accessible :name, :email
and I had attr_accessor :name, :email
I must have stared at it 100 times and not spotted the difference.
On Jan 9, 7:26 am, Frederick Cheung
wrote:
> On Jan 9, 4:20 am, Pixelguru wrote:
>
> > I'm a newbie learning
I want to ask for your advise on best practice in Rails3.
Let take a simple model consisting of users und tasks. In the model, one
user has many tasks, every task belongs to an user. I do not really "work"
with the users, as this is the Devise-Table and I just link the other data
to the users l
On Jan 9, 2:15 pm, Daniel Amsterdam wrote:
> Thx Frederick,
>
> You where right about the syntax error in the database.yml... think i
> used tabs. So the scaffold command works now but if it try to run: $
> rake db:migrate
> (in /Users/daniel/Sites/rails_mysql)
> dyld: lazy symbol binding failed
Hey Colin,
I'm in the process of putting together the bitfields permission system
into a gem in case someone wants to use a different set of authorization
for their app. When I get it done, I'll publish it and let you know the
name and git address.
It's much easier to see how things work when
Thx Frederick,
You where right about the syntax error in the database.yml... think i
used tabs. So the scaffold command works now but if it try to run: $
rake db:migrate
(in /Users/daniel/Sites/rails_mysql)
dyld: lazy symbol binding failed: Symbol not found: _mysql_init
Referenced from: /Library
On Jan 9, 1:52 pm, Daniel Amsterdam wrote:
> Hi everybody,
>
> Can someone tell me how i can set up Rails 3.0.3 working with mysql on
> Snow Leopard 32bit? i've tried adding the gem 'mysql2' in my gem file
> and run 'bundle install' with the database.yml set to:
Sounds like a syntax error in y
On Jan 9, 1:22 pm, sharad wrote:
>
> > Have you seen that validations take :if and :unless options ?
>
> I need to use coustom validation, for them I did not see any :if,
> :unless option
I think you can still do
validate :something, :if => :something+else?
>
> But as I got it working I have lo
Hi everybody,
Can someone tell me how i can set up Rails 3.0.3 working with mysql on
Snow Leopard 32bit? i've tried adding the gem 'mysql2' in my gem file
and run 'bundle install' with the database.yml set to:
development:
adapter: mysql2
database: rails_mysql_database
username: roo
That's also not very wise, since I occasionally use phpmyadmin myself.
(In normal mode, it is stopped and a cronjob stops automatically every
night for security.)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on R
On Jan 9, 12:44 pm, ivanpoval wrote:
> On Jan 8, 5:20 pm, Frederick Cheung
> wrote:
>
> > On Jan 7, 5:03 pm, IAmNan wrote:> At the point
>
> > > If I stop in the debugger at
> > > self.buyer_id = self.buyer.id # Won't work without this line, seems
> > > un-DRY or worse
>
> > I'd try stepping
Hi
> Your call to attr_accessor will create instance methods called test
> and test=, but you tried to call test on the class (and so you end up
> falling through to Kernel#test).
No I have tested this is not the case, yes I have given wrong example
but with object also it is not working, I have g
On Jan 8, 5:20 pm, Frederick Cheung
wrote:
> On Jan 7, 5:03 pm, IAmNan wrote:> At the point
>
> > If I stop in the debugger at
> > self.buyer_id = self.buyer.id # Won't work without this line, seems
> > un-DRY or worse
>
> I'd try stepping through the assignment in self.buyer = foo. In theory
On Jan 9, 4:20 am, Pixelguru wrote:
> I'm a newbie learning Rails3 and this issue has my learning stopped in
> its tracks, so I'd greatly appreciate your help. I have a simple test
> app with a User model and name and email fields. In the console, if I
> run
Don't use attr_accessor - you're rep
On Jan 9, 8:49 am, bingo bob wrote:
> So what might the apps_controller update action look like to receive the
> request and update the popularity count by one...I pretty much think I
> can solve that myself really I just want to know my thinking it on the
> right lines.
>
> One thing, rake rou
can anyone recommend a simple, maintained wiki project?
i've never found anything in rails to compete with moinmoin. instiki
seems to be slightly maintained again (at least some activity in 2010)
but have had problems with that before.
tx!
--
You received this message because you are subscribed
I'm a newbie learning Rails3 and this issue has my learning stopped in
its tracks, so I'd greatly appreciate your help. I have a simple test
app with a User model and name and email fields. In the console, if I
run
@test = User.create!(:name => 'Test Testman', :email =>
't...@test.com')
I get
=> #.
it is not wise to simply ban the ips, cause this can be a simple
botnet scanning. so, real users are not even aware of what's foing on.
you can try to block this kind of requests on the webserver before it
goes to the rails stack like this (nginx)
location ~ \.php$ {
deny all;
}
I wouldn't bother doing that from Rails. That'd be easier to set up either
at the firewall or web server level.
Would use a lot less resources.
Simon
On Sun, 09 Jan 2011 19:35:23 +0800, Fritz Trapper
wrote:
I guess, I simply should send a 404.
Since my server needs to be accessable from
I guess, I simply should send a 404.
Since my server needs to be accessable from a quite small region and I'm
uninterested in getting it indexed by search engines, it would be
possible to reject any request, that comes from outside the region.
How to programmaticaly get the origin of an IP addr
Also, slight aside but can I simulate the action of the iOS app
submitting the URL with a curl command on my mac or similar. For
testing.
--
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 pos
Update to this.
Transpires that we'd like to use the apple_identifier in the URL to do
the update rather than the more standard rails db App.id.
So the URL submitted to do the update could look more like this.
POST to
http://server.com/apps?apple_identifier=6383940&incremental_update=1
Whe
Hi all,
I'd like to update an attribute in a model via an external POST request.
The external request is coming from an iOS iPhone application but I
imagine this is not relevant.
If I have a model App and it has the following attributes...
App
apple_identifier :integer
popularity :integer
44 matches
Mail list logo