Displaying 20 results from an estimated 4000 matches similar to: "rails_best_practices gem 0.4.0 released"
2012 May 22
1
rails-brakeman.com, an online service to find security issues in your rails projects
Hi,
I just released rails-brakeman.com, it is an online service to find
security issues in your rails projects, it works based on Justin''s great
gem brakeman <https://github.com/presidentbeef/brakeman>.
Rails developers always write code fast, but sometimes they leave some
security issues in their rails project. Do you still remember mass
assignment issues from github? Using
2010 Jan 07
0
flyerhzm-metric_fu = metric_fu + rails_best_practices
I have forked metric_fu and add rails_best_practices to it.
rails_best_practices is a great gem to check your rails app codes and
give you some good suggestions for better rails codes.
The repository of flyerhzm-metric_fu is here: http://github.com/flyerhzm/metric_fu
The repository of rails_best_practices is here:
http://github.com/flyerhzm/rails_best_practices
--
You received this message
2010 Aug 22
0
Ask for best practices on rails-bestpractices.com
Hi
http://rails-bestpractices.com added a new feature, asking for best
practices, it allows users to ask for a best practice about
any rails related work, such as "How to detect N+1 queries?" and "How to
upload a large file with progress bar?". Then everyone can post your answer
with your own best practice solution to the questions. Check it
2013 Feb 01
0
watch ruby/rails conferences' videos and slides on your iphone/ipad
Hi guys,
There are many ruby / rails conferences every year, like RubyConf,
RailsConf and JRubyConf, a lot of great sessions. I built an ios app named
ConferencesBox<https://itunes.apple.com/us/app/conferences-box/id594774178?ls=1&mt=8>,
which collects ruby and rails conferences'' videos and slides, so that you
can watch them on your iphone or ipad, try it
2009 Aug 10
0
A rails sitemap plugin
Hi, guys:
I wrote a sitemap plugin for rails yesterday. This plugin will
generate the public/sitemap.xml from config/sitemap.rb whose format is
very familiar to config/routes.rb.
I think it is very helpful if you have a website written by rails and
want it to be crawled by spiders such as google, yahoo and baidu.
The home page of the plugin is http://github.com/flyerhzm/sitemap/tree/master
The
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
Hi guys,
I have written a rails plugin/gem to generate css sprite image
automatically.
The project repository is here: http://github.com/flyerhzm/css_sprite
It is based on RMagick and you need only define a rule from what
source images to a destination image, as follows:
forum_icon_vertical.gif: # destination image file
sources: # source image file list
- good_topic.gif
2008 Apr 30
3
pretty url
I want to write a permalink like /year/month/day/title, code is as follows:
self.permalink = "#{now.year}/#{now.month}/#{now.day}/#{title}"
in the view, I use restful url post_path(@post). And in the html source
code, the url is /posts/2008%2F4%2F30%2FTest
You can see, the ''/'' is replaced by "%2F", which is not I expect.
How not to replace the
2007 Apr 26
2
Bitmap in Toolbar display only a quarter of picture on Windows XP
I don''t know why the bitmap in toolbar displays only a quarter of picture on
Windows XP, but it displays OK on Ubuntu.
The attachments are results both on Windows XP and Ubuntu
--
flyerhzm@hotmail.com
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 26
2
How to close Frame?
When I call frame.destory on Windows XP, I am told that
CodeLineStatistics/init.rb:5: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [i386-mswin32]
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application''s support team for more information.
What''s the correct way to close the frame?
--
flyerhzm@hotmail.com
2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data
from website. It is easy to use and less code if you are familiar with
regular expression.
The project site is: http://github.com/flyerhzm/regexp_crawler/tree
I give an example: a script to synchronize your github projects except
fork projects, , please check example/github_projects.rb
require ''rubygems''
2011 Apr 04
0
issue installing gem Capybara on Debian5 w ruby 1.9.2 ( Rails 3.0.5) => installing native extension
On this server I already installed it in the gemsets for Ruby 1.8.7
and Rails 2.3.11 without any problem ...
but trying (many times .. ) to install in Ruby 1.9.2 (Rails 3.0.5)
raises an error ... It''s not related to the gem itself as the gem
doesn(t build any native extension .. but to one dependency...
I don''t know where to start looking for ...
here is the log message :
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody,
I''m trying to use the prawn gem into a new rails3 application on debian.
What I did:
As root:
- install rubygems, from
http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
- gem install rails
- gem install prawn
- gem install pdf-reader
- gem list | grep prawn =>
prawn (0.8.4)
prawn-core (0.8.4)
prawn-layout (0.8.4)
2012 Jan 30
0
gdata gem on rails 3 ruby 1.9
Hi:
Im trying to use gdata 1.1.2 on a rails3 ruby1.9 project
I added gem ''gdata'' to Gemfile
but keep getting the error: uninitialized constant GData::
I installed the gem with no problem
Does anybody knows how to setup rails3 with gdata?
I''ll really appreciate any advice
--
You received this message because you are subscribed to the Google Groups "Ruby on
2007 May 01
1
Text of Status Bar always disappear
The first time I create the status bar by call
@sb = create_status_bar
@sb.set_status_text(''Welcome to use Code Line Statistics'')
it works perfect. But when I click a tool bar button that trigger an event,
and call
@sb.set_status_text(''Finish'')
if the mouse is on the button, the text of status bar is "Finish"; but once
the mouse is out of the
2007 May 01
1
How to insert item to ListCtrl
The only way I know to use ListCtrl is to call ListCtrl#set_item_count and
define a callback function on_get_item_text(item, col)
How can I insert Listitem one by one, that each Listitem is composed with
several string
--
flyerhzm@hotmail.com
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello,
I''ve created a new Rails3 app and I''m using jQuery instead of prototype.
Gemfile:
gem ''jquery-rails''
in my config/application.rb I want do the following:
config/application.rb
if Rails.env.production?
config.action_view.javascript_expansions[:defaults] = %w(jquery.min
rails application)
else
2010 Dec 26
1
Sqlite gem not found with rails3
Hello,
I am migrating a rails app to rails3, however I am hanging with an
error about gem not found.
Error message:
Could not find sqlite3-ruby-1.3.2 in any of the sources
(Bundler::GemNotFound)
Exception class:
PhusionPassenger::UnknownError
When I do
$ gem list sqlite3-ruby-1.3.2
*** LOCAL GEMS ***
(and the same result with sudo gem list )
However, when I do
gem list
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
2011 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys,
I''m having an issue with deploying my application and the mysql2 gem.
I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3.
On my local machine in development environment the application runs
just fine. But when I want to deploy it on our production server I get
an error message from passenger.
"Please install the mysql2 adapter: `gem install activerecord-mysql2-
2011 Apr 12
0
RVM no such file to load
Hi,
I installed rvm recently I have a problem when I launch the rails 3
console ( or rails 3 app) it doen''t find my gems.
Here is my console:
Loading development environment (Rails 3.0.3)
ree-1.8.7-2011.03 :001 > require "rubygems"
=> nil
ree-1.8.7-2011.03 :002 > require "simple-rss"
LoadError: no such file to load -- simple-rss
from